ansible-playbook [core 2.17.4] 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-RRF executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.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-RRF/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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 07 October 2024 08:22:12 -0400 (0:00:00.019) 0:00:00.019 ******** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 07 October 2024 08:22:13 -0400 (0:00:01.123) 0:00:01.142 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 07 October 2024 08:22:13 -0400 (0:00:00.018) 0:00:01.161 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 07 October 2024 08:22:14 -0400 (0:00:00.506) 0:00:01.667 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 07 October 2024 08:22:14 -0400 (0:00:00.502) 0:00:02.169 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 07 October 2024 08:22:14 -0400 (0:00:00.034) 0:00:02.204 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 07 October 2024 08:22:14 -0400 (0:00:00.020) 0:00:02.225 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 07 October 2024 08:22:14 -0400 (0:00:00.061) 0:00:02.286 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 07 October 2024 08:22:14 -0400 (0:00:00.015) 0:00:02.302 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 07 October 2024 08:22:14 -0400 (0:00:00.014) 0:00:02.317 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 07 October 2024 08:22:14 -0400 (0:00:00.013) 0:00:02.330 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 07 October 2024 08:22:14 -0400 (0:00:00.016) 0:00:02.346 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 07 October 2024 08:22:14 -0400 (0:00:00.017) 0:00:02.364 ******** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 07 October 2024 08:22:14 -0400 (0:00:00.030) 0:00:02.394 ******** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 07 October 2024 08:22:15 -0400 (0:00:00.854) 0:00:03.248 ******** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 07 October 2024 08:22:15 -0400 (0:00:00.017) 0:00:03.266 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:22:15 -0400 (0:00:00.038) 0:00:03.304 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:22:15 -0400 (0:00:00.026) 0:00:03.331 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:22:15 -0400 (0:00:00.077) 0:00:03.408 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:22:15 -0400 (0:00:00.021) 0:00:03.429 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:22:15 -0400 (0:00:00.027) 0:00:03.457 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003368", "end": "2024-10-07 08:22:16.325882", "rc": 0, "start": "2024-10-07 08:22:16.322514" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:22:16 -0400 (0:00:00.446) 0:00:03.903 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:22:16 -0400 (0:00:00.027) 0:00:03.931 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:22:16 -0400 (0:00:00.028) 0:00:03.959 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 07 October 2024 08:22:16 -0400 (0:00:00.046) 0:00:04.005 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006951", "end": "2024-10-07 08:22:16.804265", "rc": 1, "start": "2024-10-07 08:22:16.797314" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:22:16 -0400 (0:00:00.365) 0:00:04.370 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:22:16 -0400 (0:00:00.018) 0:00:04.389 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:22:17 -0400 (0:00:00.355) 0:00:04.744 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:22:17 -0400 (0:00:00.030) 0:00:04.775 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:22:17 -0400 (0:00:00.065) 0:00:04.841 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:22:17 -0400 (0:00:00.095) 0:00:04.936 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:22:17 -0400 (0:00:00.051) 0:00:04.988 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:22:17 -0400 (0:00:00.058) 0:00:05.046 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:22:17 -0400 (0:00:00.030) 0:00:05.077 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:22:17 -0400 (0:00:00.031) 0:00:05.109 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:22:19 -0400 (0:00:01.950) 0:00:07.059 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:22:20 -0400 (0:00:00.993) 0:00:08.053 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:22:20 -0400 (0:00:00.032) 0:00:08.085 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:22:20 -0400 (0:00:00.032) 0:00:08.118 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:22:20 -0400 (0:00:00.034) 0:00:08.152 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:22:20 -0400 (0:00:00.057) 0:00:08.210 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:22:20 -0400 (0:00:00.061) 0:00:08.271 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:22:20 -0400 (0:00:00.066) 0:00:08.337 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:22:20 -0400 (0:00:00.068) 0:00:08.406 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:22:20 -0400 (0:00:00.083) 0:00:08.489 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:22:21 -0400 (0:00:00.055) 0:00:08.544 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:22:21 -0400 (0:00:00.030) 0:00:08.575 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:22:21 -0400 (0:00:00.074) 0:00:08.649 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:22:22 -0400 (0:00:00.944) 0:00:09.594 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:22:22 -0400 (0:00:00.074) 0:00:09.668 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:22:22 -0400 (0:00:00.035) 0:00:09.703 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:22:22 -0400 (0:00:00.030) 0:00:09.734 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 409a765c-f693-4adf-bab7-d69b87a153ac TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:22:22 -0400 (0:00:00.703) 0:00:10.437 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:22:22 -0400 (0:00:00.048) 0:00:10.486 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 409a765c-f693-4adf-bab7-d69b87a153ac" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:22:23 -0400 (0:00:00.045) 0:00:10.531 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 409a765c-f693-4adf-bab7-d69b87a153ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 409a765c-f693-4adf-bab7-d69b87a153ac" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:22:23 -0400 (0:00:00.036) 0:00:10.568 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:22:23 -0400 (0:00:00.037) 0:00:10.605 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:22:23 -0400 (0:00:00.470) 0:00:11.076 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 409a765c-f693-4adf-bab7-d69b87a153ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 409a765c-f693-4adf-bab7-d69b87a153ac" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:22:23 -0400 (0:00:00.057) 0:00:11.133 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:22:23 -0400 (0:00:00.084) 0:00:11.218 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:22:23 -0400 (0:00:00.095) 0:00:11.313 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:22:23 -0400 (0:00:00.033) 0:00:11.347 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:22:24 -0400 (0:00:00.409) 0:00:11.756 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:22:24 -0400 (0:00:00.053) 0:00:11.810 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018376", "end": "2024-10-07 08:22:24.632064", "rc": 0, "start": "2024-10-07 08:22:24.613688" } 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:22:24 -0400 (0:00:00.405) 0:00:12.215 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:22:24 -0400 (0:00:00.044) 0:00:12.260 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:22:24 -0400 (0:00:00.029) 0:00:12.290 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:22:24 -0400 (0:00:00.030) 0:00:12.321 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:22:24 -0400 (0:00:00.031) 0:00:12.353 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:22:24 -0400 (0:00:00.029) 0:00:12.382 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:22:24 -0400 (0:00:00.053) 0:00:12.435 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:22:24 -0400 (0:00:00.037) 0:00:12.473 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:22:24 -0400 (0:00:00.035) 0:00:12.508 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:22:25 -0400 (0:00:00.083) 0:00:12.592 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:22:25 -0400 (0:00:00.047) 0:00:12.640 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728303742.7914455, "block_size": 4096, "blocks": 0, "ctime": 1728303742.7914455, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31482, "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": 1728303742.7914455, "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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:22:25 -0400 (0:00:00.380) 0:00:13.020 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:22:25 -0400 (0:00:00.055) 0:00:13.076 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:22:25 -0400 (0:00:00.098) 0:00:13.174 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:22:25 -0400 (0:00:00.098) 0:00:13.273 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.059053", "end": "2024-10-07 08:22:26.127437", "rc": 1, "start": "2024-10-07 08:22:26.068384" } STDOUT: Connection 'statebr' (409a765c-f693-4adf-bab7-d69b87a153ac) 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 07 October 2024 08:22:26 -0400 (0:00:00.445) 0:00:13.719 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:22:26 -0400 (0:00:00.058) 0:00:13.778 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:22:26 -0400 (0:00:00.041) 0:00:13.820 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:22:26 -0400 (0:00:00.071) 0:00:13.892 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:22:26 -0400 (0:00:00.049) 0:00:13.941 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:22:26 -0400 (0:00:00.046) 0:00:13.988 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003394", "end": "2024-10-07 08:22:26.760227", "rc": 0, "start": "2024-10-07 08:22:26.756833" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:22:26 -0400 (0:00:00.356) 0:00:14.344 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:22:26 -0400 (0:00:00.034) 0:00:14.378 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:22:26 -0400 (0:00:00.034) 0:00:14.413 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 07 October 2024 08:22:26 -0400 (0:00:00.055) 0:00:14.468 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006423", "end": "2024-10-07 08:22:27.252652", "rc": 1, "start": "2024-10-07 08:22:27.246229" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:22:27 -0400 (0:00:00.382) 0:00:14.851 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:22:27 -0400 (0:00:00.081) 0:00:14.932 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:22:27 -0400 (0:00:00.361) 0:00:15.294 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:22:27 -0400 (0:00:00.040) 0:00:15.334 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 07 October 2024 08:22:27 -0400 (0:00:00.057) 0:00:15.392 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:22:27 -0400 (0:00:00.070) 0:00:15.463 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:22:28 -0400 (0:00:00.084) 0:00:15.547 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:22:28 -0400 (0:00:00.087) 0:00:15.635 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:22:28 -0400 (0:00:00.058) 0:00:15.694 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:22:28 -0400 (0:00:00.058) 0:00:15.752 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:22:30 -0400 (0:00:01.840) 0:00:17.592 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:22:30 -0400 (0:00:00.772) 0:00:18.365 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:22:30 -0400 (0:00:00.081) 0:00:18.447 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:22:30 -0400 (0:00:00.033) 0:00:18.480 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:22:30 -0400 (0:00:00.033) 0:00:18.514 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:22:31 -0400 (0:00:00.061) 0:00:18.575 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:22:31 -0400 (0:00:00.059) 0:00:18.635 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:22:31 -0400 (0:00:00.053) 0:00:18.688 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:22:31 -0400 (0:00:00.059) 0:00:18.747 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:22:31 -0400 (0:00:00.087) 0:00:18.835 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:22:31 -0400 (0:00:00.032) 0:00:18.867 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:22:31 -0400 (0:00:00.030) 0:00:18.897 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:22:31 -0400 (0:00:00.067) 0:00:18.965 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:22:32 -0400 (0:00:00.611) 0:00:19.577 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:22:32 -0400 (0:00:00.062) 0:00:19.639 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:22:32 -0400 (0:00:00.031) 0:00:19.670 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:22:32 -0400 (0:00:00.029) 0:00:19.699 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3354603-f805-4f5a-95cc-3db8a0a6606e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:22:32 -0400 (0:00:00.532) 0:00:20.232 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:22:32 -0400 (0:00:00.033) 0:00:20.265 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3354603-f805-4f5a-95cc-3db8a0a6606e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:22:32 -0400 (0:00:00.048) 0:00:20.313 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3354603-f805-4f5a-95cc-3db8a0a6606e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3354603-f805-4f5a-95cc-3db8a0a6606e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:22:32 -0400 (0:00:00.062) 0:00:20.375 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:22:32 -0400 (0:00:00.099) 0:00:20.475 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 07 October 2024 08:22:33 -0400 (0:00:00.422) 0:00:20.898 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3354603-f805-4f5a-95cc-3db8a0a6606e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3354603-f805-4f5a-95cc-3db8a0a6606e" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:22:33 -0400 (0:00:00.060) 0:00:20.959 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:22:33 -0400 (0:00:00.107) 0:00:21.066 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:22:33 -0400 (0:00:00.090) 0:00:21.157 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:22:34 -0400 (0:00:00.399) 0:00:21.556 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:22:34 -0400 (0:00:00.052) 0:00:21.609 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:22:34 -0400 (0:00:00.055) 0:00:21.665 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:22:34 -0400 (0:00:00.032) 0:00:21.697 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:22:34 -0400 (0:00:00.355) 0:00:22.053 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:22:34 -0400 (0:00:00.030) 0:00:22.083 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018631", "end": "2024-10-07 08:22:34.875310", "rc": 0, "start": "2024-10-07 08:22:34.856679" } 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:22:34 -0400 (0:00:00.398) 0:00:22.482 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:22:35 -0400 (0:00:00.045) 0:00:22.527 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:22:35 -0400 (0:00:00.035) 0:00:22.563 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:22:35 -0400 (0:00:00.065) 0:00:22.628 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:22:35 -0400 (0:00:00.031) 0:00:22.659 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:22:35 -0400 (0:00:00.031) 0:00:22.690 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:22:35 -0400 (0:00:00.036) 0:00:22.727 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:22:35 -0400 (0:00:00.046) 0:00:22.774 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:22:35 -0400 (0:00:00.052) 0:00:22.826 ******** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:22:35 -0400 (0:00:00.055) 0:00:22.882 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:22:35 -0400 (0:00:00.041) 0:00:22.924 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:22:35 -0400 (0:00:00.061) 0:00:22.985 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035579", "end": "2024-10-07 08:22:35.787658", "rc": 1, "start": "2024-10-07 08:22:35.752079" } STDOUT: Connection 'statebr' (a3354603-f805-4f5a-95cc-3db8a0a6606e) 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 07 October 2024 08:22:35 -0400 (0:00:00.385) 0:00:23.371 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:22:35 -0400 (0:00:00.052) 0:00:23.423 ******** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:22:35 -0400 (0:00:00.032) 0:00:23.456 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:22:36 -0400 (0:00:00.065) 0:00:23.521 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:22:36 -0400 (0:00:00.055) 0:00:23.577 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:22:36 -0400 (0:00:00.065) 0:00:23.642 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003192", "end": "2024-10-07 08:22:36.428983", "rc": 0, "start": "2024-10-07 08:22:36.425791" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:22:36 -0400 (0:00:00.410) 0:00:24.053 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:22:36 -0400 (0:00:00.037) 0:00:24.091 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:22:36 -0400 (0:00:00.036) 0:00:24.127 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:22:36 -0400 (0:00:00.062) 0:00:24.189 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:22:36 -0400 (0:00:00.066) 0:00:24.256 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:22:36 -0400 (0:00:00.080) 0:00:24.336 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:22:36 -0400 (0:00:00.066) 0:00:24.402 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:22:36 -0400 (0:00:00.041) 0:00:24.444 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:22:36 -0400 (0:00:00.040) 0:00:24.484 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:22:38 -0400 (0:00:01.830) 0:00:26.315 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:22:39 -0400 (0:00:00.741) 0:00:27.057 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:22:39 -0400 (0:00:00.041) 0:00:27.098 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:22:39 -0400 (0:00:00.065) 0:00:27.164 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:22:39 -0400 (0:00:00.031) 0:00:27.195 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:22:39 -0400 (0:00:00.059) 0:00:27.254 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:22:39 -0400 (0:00:00.062) 0:00:27.316 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:22:39 -0400 (0:00:00.046) 0:00:27.363 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:22:39 -0400 (0:00:00.075) 0:00:27.439 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:22:40 -0400 (0:00:00.084) 0:00:27.524 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:22:40 -0400 (0:00:00.035) 0:00:27.559 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:22:40 -0400 (0:00:00.037) 0:00:27.596 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:22:40 -0400 (0:00:00.093) 0:00:27.689 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:22:40 -0400 (0:00:00.643) 0:00:28.333 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:22:40 -0400 (0:00:00.067) 0:00:28.401 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:22:40 -0400 (0:00:00.053) 0:00:28.455 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:22:40 -0400 (0:00:00.038) 0:00:28.493 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:22:41 -0400 (0:00:00.566) 0:00:29.059 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:22:41 -0400 (0:00:00.031) 0:00:29.090 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:22:41 -0400 (0:00:00.041) 0:00:29.132 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:22:41 -0400 (0:00:00.057) 0:00:29.190 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:22:41 -0400 (0:00:00.098) 0:00:29.288 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:22:42 -0400 (0:00:00.416) 0:00:29.704 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:22:42 -0400 (0:00:00.059) 0:00:29.764 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:22:42 -0400 (0:00:00.094) 0:00:29.859 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:22:42 -0400 (0:00:00.113) 0:00:29.972 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:22:42 -0400 (0:00:00.107) 0:00:30.080 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:22:42 -0400 (0:00:00.093) 0:00:30.173 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:22:42 -0400 (0:00:00.049) 0:00:30.222 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:22:42 -0400 (0:00:00.039) 0:00:30.262 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:22:44 -0400 (0:00:01.838) 0:00:32.100 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:22:45 -0400 (0:00:00.769) 0:00:32.870 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:22:45 -0400 (0:00:00.105) 0:00:32.975 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:22:45 -0400 (0:00:00.049) 0:00:33.025 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:22:45 -0400 (0:00:00.052) 0:00:33.077 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:22:45 -0400 (0:00:00.096) 0:00:33.173 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:22:45 -0400 (0:00:00.100) 0:00:33.273 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:22:45 -0400 (0:00:00.081) 0:00:33.355 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:22:45 -0400 (0:00:00.093) 0:00:33.448 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:22:46 -0400 (0:00:00.152) 0:00:33.601 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:22:46 -0400 (0:00:00.074) 0:00:33.676 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:22:46 -0400 (0:00:00.048) 0:00:33.725 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:22:46 -0400 (0:00:00.089) 0:00:33.814 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:22:46 -0400 (0:00:00.644) 0:00:34.459 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:22:47 -0400 (0:00:00.092) 0:00:34.551 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:22:47 -0400 (0:00:00.047) 0:00:34.598 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:22:47 -0400 (0:00:00.047) 0:00:34.646 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:22:47 -0400 (0:00:00.607) 0:00:35.254 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:22:47 -0400 (0:00:00.029) 0:00:35.283 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:22:47 -0400 (0:00:00.033) 0:00:35.317 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec5eb594-025a-4f27-a75e-2508d4b4cc4c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:22:47 -0400 (0:00:00.032) 0:00:35.349 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:22:47 -0400 (0:00:00.060) 0:00:35.410 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:22:48 -0400 (0:00:00.376) 0:00:35.786 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:22:48 -0400 (0:00:00.136) 0:00:35.922 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:22:48 -0400 (0:00:00.095) 0:00:36.018 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728303761.4294002, "block_size": 4096, "blocks": 0, "ctime": 1728303761.4294002, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31607, "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": 1728303761.4294002, "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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:22:48 -0400 (0:00:00.407) 0:00:36.426 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:22:48 -0400 (0:00:00.053) 0:00:36.479 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:22:49 -0400 (0:00:00.072) 0:00:36.551 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:22:49 -0400 (0:00:00.053) 0:00:36.605 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:22:49 -0400 (0:00:00.369) 0:00:36.975 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:22:49 -0400 (0:00:00.030) 0:00:37.005 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018793", "end": "2024-10-07 08:22:49.788785", "rc": 0, "start": "2024-10-07 08:22:49.769992" } 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:22:49 -0400 (0:00:00.365) 0:00:37.371 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:22:49 -0400 (0:00:00.035) 0:00:37.406 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:22:49 -0400 (0:00:00.028) 0:00:37.435 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:22:49 -0400 (0:00:00.029) 0:00:37.464 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:22:49 -0400 (0:00:00.028) 0:00:37.493 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:22:50 -0400 (0:00:00.063) 0:00:37.556 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:22:50 -0400 (0:00:00.045) 0:00:37.602 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:22:50 -0400 (0:00:00.054) 0:00:37.656 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:22:50 -0400 (0:00:00.054) 0:00:37.710 ******** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:22:50 -0400 (0:00:00.050) 0:00:37.761 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:22:50 -0400 (0:00:00.041) 0:00:37.802 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:22:50 -0400 (0:00:00.086) 0:00:37.888 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.060369", "end": "2024-10-07 08:22:50.709785", "rc": 1, "start": "2024-10-07 08:22:50.649416" } STDOUT: Connection 'statebr' (ec5eb594-025a-4f27-a75e-2508d4b4cc4c) 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 07 October 2024 08:22:50 -0400 (0:00:00.425) 0:00:38.313 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:22:50 -0400 (0:00:00.082) 0:00:38.396 ******** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:22:50 -0400 (0:00:00.039) 0:00:38.436 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:22:50 -0400 (0:00:00.065) 0:00:38.501 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:22:51 -0400 (0:00:00.048) 0:00:38.550 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:22:51 -0400 (0:00:00.046) 0:00:38.597 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003127", "end": "2024-10-07 08:22:51.375588", "rc": 0, "start": "2024-10-07 08:22:51.372461" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:22:51 -0400 (0:00:00.366) 0:00:38.963 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:22:51 -0400 (0:00:00.069) 0:00:39.033 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:22:51 -0400 (0:00:00.033) 0:00:39.067 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:22:51 -0400 (0:00:00.057) 0:00:39.124 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:22:51 -0400 (0:00:00.066) 0:00:39.191 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:22:51 -0400 (0:00:00.059) 0:00:39.251 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:22:51 -0400 (0:00:00.054) 0:00:39.305 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:22:51 -0400 (0:00:00.034) 0:00:39.340 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:22:51 -0400 (0:00:00.033) 0:00:39.373 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:22:53 -0400 (0:00:01.783) 0:00:41.157 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:22:54 -0400 (0:00:00.719) 0:00:41.877 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:22:54 -0400 (0:00:00.034) 0:00:41.911 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:22:54 -0400 (0:00:00.029) 0:00:41.941 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:22:54 -0400 (0:00:00.090) 0:00:42.031 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:22:54 -0400 (0:00:00.069) 0:00:42.100 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:22:54 -0400 (0:00:00.076) 0:00:42.177 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:22:54 -0400 (0:00:00.052) 0:00:42.229 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:22:54 -0400 (0:00:00.057) 0:00:42.287 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:22:54 -0400 (0:00:00.092) 0:00:42.380 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:22:54 -0400 (0:00:00.048) 0:00:42.428 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:22:54 -0400 (0:00:00.034) 0:00:42.462 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:22:55 -0400 (0:00:00.070) 0:00:42.533 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:22:55 -0400 (0:00:00.557) 0:00:43.091 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:22:55 -0400 (0:00:00.060) 0:00:43.151 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:22:55 -0400 (0:00:00.030) 0:00:43.181 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:22:55 -0400 (0:00:00.036) 0:00:43.218 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:22:56 -0400 (0:00:00.621) 0:00:43.839 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:22:56 -0400 (0:00:00.031) 0:00:43.871 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:22:56 -0400 (0:00:00.035) 0:00:43.906 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:22:56 -0400 (0:00:00.035) 0:00:43.942 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:22:56 -0400 (0:00:00.031) 0:00:43.974 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:22:56 -0400 (0:00:00.405) 0:00:44.379 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:22:56 -0400 (0:00:00.036) 0:00:44.416 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:22:56 -0400 (0:00:00.067) 0:00:44.483 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:22:57 -0400 (0:00:00.060) 0:00:44.544 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:22:57 -0400 (0:00:00.057) 0:00:44.601 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:22:57 -0400 (0:00:00.036) 0:00:44.638 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:22:57 -0400 (0:00:00.034) 0:00:44.673 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:22:58 -0400 (0:00:01.820) 0:00:46.493 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:22:59 -0400 (0:00:00.773) 0:00:47.267 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:22:59 -0400 (0:00:00.034) 0:00:47.302 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:22:59 -0400 (0:00:00.029) 0:00:47.331 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:22:59 -0400 (0:00:00.030) 0:00:47.361 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:22:59 -0400 (0:00:00.058) 0:00:47.420 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:00 -0400 (0:00:00.100) 0:00:47.520 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:00 -0400 (0:00:00.067) 0:00:47.587 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:00 -0400 (0:00:00.090) 0:00:47.678 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:00 -0400 (0:00:00.135) 0:00:47.813 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:00 -0400 (0:00:00.048) 0:00:47.862 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:00 -0400 (0:00:00.049) 0:00:47.911 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:00 -0400 (0:00:00.068) 0:00:47.980 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:01 -0400 (0:00:00.630) 0:00:48.611 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:01 -0400 (0:00:00.074) 0:00:48.685 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:01 -0400 (0:00:00.047) 0:00:48.732 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:01 -0400 (0:00:00.048) 0:00:48.781 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:01 -0400 (0:00:00.610) 0:00:49.391 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:01 -0400 (0:00:00.052) 0:00:49.443 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:01 -0400 (0:00:00.063) 0:00:49.507 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 82cf3884-66ed-419b-86f2-588e40079d27 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:02 -0400 (0:00:00.060) 0:00:49.567 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:02 -0400 (0:00:00.053) 0:00:49.621 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:23:02 -0400 (0:00:00.399) 0:00:50.020 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 07 October 2024 08:23:02 -0400 (0:00:00.153) 0:00:50.174 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:23:02 -0400 (0:00:00.147) 0:00:50.322 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:23:02 -0400 (0:00:00.072) 0:00:50.394 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:23:02 -0400 (0:00:00.065) 0:00:50.459 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:23:02 -0400 (0:00:00.036) 0:00:50.495 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:23:03 -0400 (0:00:00.035) 0:00:50.531 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:23:04 -0400 (0:00:01.943) 0:00:52.475 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:23:05 -0400 (0:00:00.785) 0:00:53.260 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:23:05 -0400 (0:00:00.033) 0:00:53.293 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:23:05 -0400 (0:00:00.030) 0:00:53.324 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:23:05 -0400 (0:00:00.028) 0:00:53.353 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:23:05 -0400 (0:00:00.061) 0:00:53.414 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:05 -0400 (0:00:00.077) 0:00:53.492 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:06 -0400 (0:00:00.134) 0:00:53.627 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:06 -0400 (0:00:00.058) 0:00:53.685 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:06 -0400 (0:00:00.087) 0:00:53.772 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:06 -0400 (0:00:00.030) 0:00:53.802 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:06 -0400 (0:00:00.029) 0:00:53.832 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:06 -0400 (0:00:00.059) 0:00:53.891 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:06 -0400 (0:00:00.566) 0:00:54.458 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:07 -0400 (0:00:00.111) 0:00:54.569 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:07 -0400 (0:00:00.037) 0:00:54.606 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:07 -0400 (0:00:00.036) 0:00:54.643 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:07 -0400 (0:00:00.562) 0:00:55.206 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:07 -0400 (0:00:00.052) 0:00:55.258 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:07 -0400 (0:00:00.060) 0:00:55.319 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:07 -0400 (0:00:00.063) 0:00:55.383 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:07 -0400 (0:00:00.052) 0:00:55.436 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:23:08 -0400 (0:00:00.427) 0:00:55.863 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:23:08 -0400 (0:00:00.149) 0:00:56.013 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:23:08 -0400 (0:00:00.080) 0:00:56.094 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728303776.207335, "block_size": 4096, "blocks": 0, "ctime": 1728303776.207335, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31732, "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": 1728303776.207335, "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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:23:08 -0400 (0:00:00.367) 0:00:56.462 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:23:08 -0400 (0:00:00.035) 0:00:56.498 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:23:09 -0400 (0:00:00.055) 0:00:56.553 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:23:09 -0400 (0:00:00.033) 0:00:56.587 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:23:09 -0400 (0:00:00.390) 0:00:56.977 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:23:09 -0400 (0:00:00.034) 0:00:57.011 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018545", "end": "2024-10-07 08:23:09.802131", "rc": 1, "start": "2024-10-07 08:23:09.783586" } 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:23:09 -0400 (0:00:00.375) 0:00:57.386 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:23:09 -0400 (0:00:00.040) 0:00:57.427 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:23:09 -0400 (0:00:00.032) 0:00:57.459 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:23:09 -0400 (0:00:00.030) 0:00:57.489 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:23:10 -0400 (0:00:00.035) 0:00:57.525 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:23:10 -0400 (0:00:00.046) 0:00:57.571 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:23:10 -0400 (0:00:00.055) 0:00:57.627 ******** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:23:10 -0400 (0:00:00.097) 0:00:57.725 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:23:10 -0400 (0:00:00.065) 0:00:57.790 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:23:10 -0400 (0:00:00.124) 0:00:57.914 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.054161", "end": "2024-10-07 08:23:10.735422", "rc": 0, "start": "2024-10-07 08:23:10.681261" } STDOUT: Connection 'statebr' (82cf3884-66ed-419b-86f2-588e40079d27) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 07 October 2024 08:23:10 -0400 (0:00:00.433) 0:00:58.348 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:23:10 -0400 (0:00:00.087) 0:00:58.436 ******** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:23:10 -0400 (0:00:00.051) 0:00:58.487 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:23:11 -0400 (0:00:00.086) 0:00:58.573 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:23:11 -0400 (0:00:00.060) 0:00:58.634 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:23:11 -0400 (0:00:00.051) 0:00:58.685 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003164", "end": "2024-10-07 08:23:11.455456", "rc": 0, "start": "2024-10-07 08:23:11.452292" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:23:11 -0400 (0:00:00.362) 0:00:59.047 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:23:11 -0400 (0:00:00.038) 0:00:59.085 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:23:11 -0400 (0:00:00.039) 0:00:59.125 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:23:11 -0400 (0:00:00.061) 0:00:59.186 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:23:11 -0400 (0:00:00.066) 0:00:59.252 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:23:11 -0400 (0:00:00.094) 0:00:59.347 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:23:11 -0400 (0:00:00.054) 0:00:59.402 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:23:11 -0400 (0:00:00.036) 0:00:59.438 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:23:11 -0400 (0:00:00.035) 0:00:59.473 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:23:13 -0400 (0:00:01.823) 0:01:01.296 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:23:14 -0400 (0:00:00.808) 0:01:02.105 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:23:14 -0400 (0:00:00.061) 0:01:02.166 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:23:14 -0400 (0:00:00.054) 0:01:02.221 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:23:14 -0400 (0:00:00.054) 0:01:02.275 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:23:14 -0400 (0:00:00.099) 0:01:02.375 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:14 -0400 (0:00:00.108) 0:01:02.483 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:15 -0400 (0:00:00.081) 0:01:02.565 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:15 -0400 (0:00:00.108) 0:01:02.674 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:15 -0400 (0:00:00.140) 0:01:02.814 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:15 -0400 (0:00:00.128) 0:01:02.943 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:15 -0400 (0:00:00.040) 0:01:02.983 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:15 -0400 (0:00:00.075) 0:01:03.058 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:16 -0400 (0:00:00.559) 0:01:03.618 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:16 -0400 (0:00:00.061) 0:01:03.679 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:16 -0400 (0:00:00.030) 0:01:03.710 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:16 -0400 (0:00:00.031) 0:01:03.742 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:16 -0400 (0:00:00.644) 0:01:04.387 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:16 -0400 (0:00:00.034) 0:01:04.421 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:16 -0400 (0:00:00.052) 0:01:04.473 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:17 -0400 (0:00:00.058) 0:01:04.532 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:17 -0400 (0:00:00.046) 0:01:04.578 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:23:17 -0400 (0:00:00.447) 0:01:05.026 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:23:17 -0400 (0:00:00.056) 0:01:05.082 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:23:17 -0400 (0:00:00.078) 0:01:05.161 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:23:17 -0400 (0:00:00.105) 0:01:05.266 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:23:17 -0400 (0:00:00.056) 0:01:05.323 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:23:17 -0400 (0:00:00.036) 0:01:05.359 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:23:17 -0400 (0:00:00.033) 0:01:05.393 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:23:19 -0400 (0:00:01.793) 0:01:07.187 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:23:20 -0400 (0:00:00.733) 0:01:07.920 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:23:20 -0400 (0:00:00.035) 0:01:07.955 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:23:20 -0400 (0:00:00.029) 0:01:07.985 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:23:20 -0400 (0:00:00.034) 0:01:08.020 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:23:20 -0400 (0:00:00.086) 0:01:08.106 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:20 -0400 (0:00:00.100) 0:01:08.206 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:20 -0400 (0:00:00.082) 0:01:08.289 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:20 -0400 (0:00:00.080) 0:01:08.370 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:20 -0400 (0:00:00.127) 0:01:08.497 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:21 -0400 (0:00:00.049) 0:01:08.546 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:21 -0400 (0:00:00.038) 0:01:08.585 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:21 -0400 (0:00:00.100) 0:01:08.685 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:21 -0400 (0:00:00.562) 0:01:09.247 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:21 -0400 (0:00:00.064) 0:01:09.312 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:21 -0400 (0:00:00.031) 0:01:09.344 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:21 -0400 (0:00:00.031) 0:01:09.376 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:22 -0400 (0:00:00.517) 0:01:09.894 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:22 -0400 (0:00:00.031) 0:01:09.925 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:22 -0400 (0:00:00.036) 0:01:09.962 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6c36b804-d873-4981-8993-613adaec5cbd skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:22 -0400 (0:00:00.034) 0:01:09.996 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:22 -0400 (0:00:00.031) 0:01:10.028 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 07 October 2024 08:23:22 -0400 (0:00:00.402) 0:01:10.430 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:23:23 -0400 (0:00:00.106) 0:01:10.537 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:23:23 -0400 (0:00:00.068) 0:01:10.606 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:23:23 -0400 (0:00:00.054) 0:01:10.660 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:23:23 -0400 (0:00:00.034) 0:01:10.695 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:23:23 -0400 (0:00:00.069) 0:01:10.765 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:23:25 -0400 (0:00:01.819) 0:01:12.585 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:23:25 -0400 (0:00:00.751) 0:01:13.336 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:23:25 -0400 (0:00:00.045) 0:01:13.381 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:23:25 -0400 (0:00:00.030) 0:01:13.412 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:23:25 -0400 (0:00:00.029) 0:01:13.441 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:23:25 -0400 (0:00:00.062) 0:01:13.504 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:26 -0400 (0:00:00.067) 0:01:13.572 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:26 -0400 (0:00:00.080) 0:01:13.652 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:26 -0400 (0:00:00.092) 0:01:13.745 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:26 -0400 (0:00:00.133) 0:01:13.878 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:26 -0400 (0:00:00.051) 0:01:13.929 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:26 -0400 (0:00:00.049) 0:01:13.979 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:26 -0400 (0:00:00.097) 0:01:14.076 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:27 -0400 (0:00:00.599) 0:01:14.676 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:27 -0400 (0:00:00.067) 0:01:14.744 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:27 -0400 (0:00:00.074) 0:01:14.818 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:27 -0400 (0:00:00.031) 0:01:14.850 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:27 -0400 (0:00:00.608) 0:01:15.459 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:27 -0400 (0:00:00.039) 0:01:15.499 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:28 -0400 (0:00:00.043) 0:01:15.542 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:28 -0400 (0:00:00.041) 0:01:15.584 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:28 -0400 (0:00:00.030) 0:01:15.615 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:23:28 -0400 (0:00:00.361) 0:01:15.976 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:23:28 -0400 (0:00:00.058) 0:01:16.034 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:23:28 -0400 (0:00:00.091) 0:01:16.126 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:23:28 -0400 (0:00:00.103) 0:01:16.229 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:23:28 -0400 (0:00:00.096) 0:01:16.326 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:23:28 -0400 (0:00:00.059) 0:01:16.386 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:23:28 -0400 (0:00:00.061) 0:01:16.447 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:23:30 -0400 (0:00:01.946) 0:01:18.394 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:23:31 -0400 (0:00:00.785) 0:01:19.179 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:23:31 -0400 (0:00:00.062) 0:01:19.242 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:23:31 -0400 (0:00:00.055) 0:01:19.298 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:23:31 -0400 (0:00:00.056) 0:01:19.354 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:23:31 -0400 (0:00:00.073) 0:01:19.428 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:31 -0400 (0:00:00.076) 0:01:19.504 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:32 -0400 (0:00:00.052) 0:01:19.556 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:32 -0400 (0:00:00.076) 0:01:19.632 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:32 -0400 (0:00:00.088) 0:01:19.721 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:32 -0400 (0:00:00.030) 0:01:19.752 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:32 -0400 (0:00:00.030) 0:01:19.782 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:32 -0400 (0:00:00.057) 0:01:19.840 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:32 -0400 (0:00:00.580) 0:01:20.421 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:33 -0400 (0:00:00.099) 0:01:20.520 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:33 -0400 (0:00:00.049) 0:01:20.570 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:33 -0400 (0:00:00.111) 0:01:20.681 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:33 -0400 (0:00:00.618) 0:01:21.300 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:33 -0400 (0:00:00.032) 0:01:21.332 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:33 -0400 (0:00:00.034) 0:01:21.367 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:33 -0400 (0:00:00.035) 0:01:21.403 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:33 -0400 (0:00:00.031) 0:01:21.434 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:23:34 -0400 (0:00:00.361) 0:01:21.796 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:23:34 -0400 (0:00:00.059) 0:01:21.855 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:23:34 -0400 (0:00:00.056) 0:01:21.912 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:23:34 -0400 (0:00:00.034) 0:01:21.946 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:23:34 -0400 (0:00:00.347) 0:01:22.294 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:23:34 -0400 (0:00:00.032) 0:01:22.326 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017433", "end": "2024-10-07 08:23:35.107870", "rc": 1, "start": "2024-10-07 08:23:35.090437" } 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:23:35 -0400 (0:00:00.365) 0:01:22.691 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:23:35 -0400 (0:00:00.047) 0:01:22.739 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:23:35 -0400 (0:00:00.035) 0:01:22.774 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:23:35 -0400 (0:00:00.031) 0:01:22.806 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:23:35 -0400 (0:00:00.072) 0:01:22.878 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:23:35 -0400 (0:00:00.034) 0:01:22.912 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:23:35 -0400 (0:00:00.036) 0:01:22.949 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:23:35 -0400 (0:00:00.082) 0:01:23.031 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:23:35 -0400 (0:00:00.050) 0:01:23.081 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:23:35 -0400 (0:00:00.348) 0:01:23.430 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:23:35 -0400 (0:00:00.037) 0:01:23.468 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:23:35 -0400 (0:00:00.033) 0:01:23.502 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:23:36 -0400 (0:00:00.058) 0:01:23.560 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036198", "end": "2024-10-07 08:23:36.360724", "rc": 1, "start": "2024-10-07 08:23:36.324526" } 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 07 October 2024 08:23:36 -0400 (0:00:00.385) 0:01:23.945 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:23:36 -0400 (0:00:00.055) 0:01:24.001 ******** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:23:36 -0400 (0:00:00.034) 0:01:24.035 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:23:36 -0400 (0:00:00.066) 0:01:24.102 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:23:36 -0400 (0:00:00.084) 0:01:24.187 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:23:36 -0400 (0:00:00.050) 0:01:24.237 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003503", "end": "2024-10-07 08:23:37.010247", "rc": 0, "start": "2024-10-07 08:23:37.006744" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:23:37 -0400 (0:00:00.381) 0:01:24.619 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:23:37 -0400 (0:00:00.059) 0:01:24.679 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:23:37 -0400 (0:00:00.061) 0:01:24.740 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:23:37 -0400 (0:00:00.131) 0:01:24.871 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:23:37 -0400 (0:00:00.093) 0:01:24.964 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:23:37 -0400 (0:00:00.065) 0:01:25.029 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:23:37 -0400 (0:00:00.056) 0:01:25.086 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:23:37 -0400 (0:00:00.036) 0:01:25.123 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:23:37 -0400 (0:00:00.036) 0:01:25.159 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:23:39 -0400 (0:00:01.846) 0:01:27.006 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:23:40 -0400 (0:00:00.915) 0:01:27.921 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:23:40 -0400 (0:00:00.085) 0:01:28.006 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:23:40 -0400 (0:00:00.056) 0:01:28.063 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:23:40 -0400 (0:00:00.037) 0:01:28.100 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:23:40 -0400 (0:00:00.070) 0:01:28.170 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:40 -0400 (0:00:00.059) 0:01:28.230 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:40 -0400 (0:00:00.053) 0:01:28.284 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:40 -0400 (0:00:00.070) 0:01:28.354 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:40 -0400 (0:00:00.136) 0:01:28.490 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:41 -0400 (0:00:00.053) 0:01:28.544 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:41 -0400 (0:00:00.038) 0:01:28.582 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:41 -0400 (0:00:00.076) 0:01:28.658 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:41 -0400 (0:00:00.580) 0:01:29.239 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:41 -0400 (0:00:00.091) 0:01:29.330 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:41 -0400 (0:00:00.054) 0:01:29.385 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:41 -0400 (0:00:00.050) 0:01:29.435 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:42 -0400 (0:00:00.696) 0:01:30.131 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:42 -0400 (0:00:00.037) 0:01:30.169 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:42 -0400 (0:00:00.076) 0:01:30.246 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:42 -0400 (0:00:00.036) 0:01:30.283 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:42 -0400 (0:00:00.030) 0:01:30.313 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:23:43 -0400 (0:00:00.363) 0:01:30.676 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:23:43 -0400 (0:00:00.034) 0:01:30.711 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:23:43 -0400 (0:00:00.065) 0:01:30.777 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:23:43 -0400 (0:00:00.059) 0:01:30.836 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:23:43 -0400 (0:00:00.071) 0:01:30.908 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:23:43 -0400 (0:00:00.059) 0:01:30.967 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:23:43 -0400 (0:00:00.060) 0:01:31.028 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:23:45 -0400 (0:00:01.888) 0:01:32.916 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:23:46 -0400 (0:00:00.774) 0:01:33.691 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:23:46 -0400 (0:00:00.081) 0:01:33.773 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:23:46 -0400 (0:00:00.050) 0:01:33.823 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:23:46 -0400 (0:00:00.049) 0:01:33.872 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:23:46 -0400 (0:00:00.100) 0:01:33.973 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:46 -0400 (0:00:00.097) 0:01:34.070 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:46 -0400 (0:00:00.094) 0:01:34.165 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:46 -0400 (0:00:00.119) 0:01:34.285 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:46 -0400 (0:00:00.141) 0:01:34.426 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:46 -0400 (0:00:00.054) 0:01:34.481 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:47 -0400 (0:00:00.048) 0:01:34.529 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:47 -0400 (0:00:00.097) 0:01:34.627 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:47 -0400 (0:00:00.671) 0:01:35.298 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:47 -0400 (0:00:00.096) 0:01:35.395 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:47 -0400 (0:00:00.055) 0:01:35.450 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:47 -0400 (0:00:00.052) 0:01:35.502 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:48 -0400 (0:00:00.598) 0:01:36.101 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:48 -0400 (0:00:00.030) 0:01:36.132 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:48 -0400 (0:00:00.034) 0:01:36.166 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f09a0997-5143-45b5-9f26-3730269c8f92 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:48 -0400 (0:00:00.075) 0:01:36.242 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:48 -0400 (0:00:00.030) 0:01:36.272 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:23:49 -0400 (0:00:00.425) 0:01:36.698 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:23:49 -0400 (0:00:00.121) 0:01:36.820 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:23:49 -0400 (0:00:00.081) 0:01:36.901 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:23:49 -0400 (0:00:00.108) 0:01:37.009 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:23:49 -0400 (0:00:00.072) 0:01:37.082 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:23:49 -0400 (0:00:00.059) 0:01:37.141 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:23:51 -0400 (0:00:01.798) 0:01:38.940 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:23:52 -0400 (0:00:00.726) 0:01:39.666 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:23:52 -0400 (0:00:00.033) 0:01:39.700 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:23:52 -0400 (0:00:00.030) 0:01:39.730 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:23:52 -0400 (0:00:00.028) 0:01:39.758 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:23:52 -0400 (0:00:00.142) 0:01:39.901 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:52 -0400 (0:00:00.061) 0:01:39.963 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:52 -0400 (0:00:00.049) 0:01:40.012 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:52 -0400 (0:00:00.061) 0:01:40.074 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:52 -0400 (0:00:00.085) 0:01:40.159 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:52 -0400 (0:00:00.031) 0:01:40.191 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:52 -0400 (0:00:00.031) 0:01:40.222 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:52 -0400 (0:00:00.054) 0:01:40.277 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:53 -0400 (0:00:00.565) 0:01:40.842 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:53 -0400 (0:00:00.059) 0:01:40.901 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:53 -0400 (0:00:00.031) 0:01:40.933 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:53 -0400 (0:00:00.030) 0:01:40.964 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:54 -0400 (0:00:00.632) 0:01:41.596 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:54 -0400 (0:00:00.032) 0:01:41.629 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:54 -0400 (0:00:00.033) 0:01:41.663 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:54 -0400 (0:00:00.035) 0:01:41.699 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:54 -0400 (0:00:00.030) 0:01:41.729 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:23:54 -0400 (0:00:00.427) 0:01:42.157 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:23:54 -0400 (0:00:00.091) 0:01:42.248 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:23:54 -0400 (0:00:00.111) 0:01:42.360 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:23:54 -0400 (0:00:00.127) 0:01:42.487 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:23:55 -0400 (0:00:00.069) 0:01:42.557 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:23:55 -0400 (0:00:00.037) 0:01:42.594 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:23:55 -0400 (0:00:00.035) 0:01:42.630 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:23:56 -0400 (0:00:01.803) 0:01:44.433 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:23:57 -0400 (0:00:00.738) 0:01:45.172 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:23:57 -0400 (0:00:00.054) 0:01:45.227 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:23:57 -0400 (0:00:00.038) 0:01:45.266 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:23:57 -0400 (0:00:00.035) 0:01:45.301 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:23:57 -0400 (0:00:00.115) 0:01:45.416 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:23:57 -0400 (0:00:00.061) 0:01:45.477 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:23:58 -0400 (0:00:00.049) 0:01:45.527 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:23:58 -0400 (0:00:00.073) 0:01:45.601 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:23:58 -0400 (0:00:00.091) 0:01:45.693 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:23:58 -0400 (0:00:00.030) 0:01:45.723 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:23:58 -0400 (0:00:00.030) 0:01:45.753 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:23:58 -0400 (0:00:00.058) 0:01:45.812 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:23:58 -0400 (0:00:00.593) 0:01:46.406 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:23:58 -0400 (0:00:00.062) 0:01:46.468 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:23:58 -0400 (0:00:00.031) 0:01:46.500 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:23:59 -0400 (0:00:00.030) 0:01:46.530 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:23:59 -0400 (0:00:00.548) 0:01:47.079 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:23:59 -0400 (0:00:00.035) 0:01:47.115 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:23:59 -0400 (0:00:00.054) 0:01:47.169 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:23:59 -0400 (0:00:00.059) 0:01:47.229 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:23:59 -0400 (0:00:00.053) 0:01:47.283 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:24:00 -0400 (0:00:00.424) 0:01:47.708 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:24:00 -0400 (0:00:00.105) 0:01:47.814 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:24:00 -0400 (0:00:00.055) 0:01:47.869 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:24:00 -0400 (0:00:00.032) 0:01:47.902 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:24:00 -0400 (0:00:00.349) 0:01:48.252 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:24:00 -0400 (0:00:00.030) 0:01:48.282 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018255", "end": "2024-10-07 08:24:01.080680", "rc": 1, "start": "2024-10-07 08:24:01.062425" } 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:24:01 -0400 (0:00:00.425) 0:01:48.707 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:24:01 -0400 (0:00:00.085) 0:01:48.792 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:24:01 -0400 (0:00:00.041) 0:01:48.834 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:24:01 -0400 (0:00:00.041) 0:01:48.876 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:24:01 -0400 (0:00:00.036) 0:01:48.912 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:24:01 -0400 (0:00:00.034) 0:01:48.946 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 07 October 2024 08:24:01 -0400 (0:00:00.035) 0:01:48.982 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.174476", "end": "2024-10-07 08:24:01.928106", "rc": 0, "start": "2024-10-07 08:24:01.753630" } STDOUT: NetworkManager-1.48.10-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 07 October 2024 08:24:01 -0400 (0:00:00.536) 0:01:49.519 ******** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 07 October 2024 08:24:02 -0400 (0:00:00.042) 0:01:49.561 ******** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:24:02 -0400 (0:00:00.034) 0:01:49.596 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:24:02 -0400 (0:00:00.083) 0:01:49.680 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:24:02 -0400 (0:00:00.090) 0:01:49.771 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:24:02 -0400 (0:00:00.370) 0:01:50.141 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:24:02 -0400 (0:00:00.038) 0:01:50.179 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:24:02 -0400 (0:00:00.035) 0:01:50.215 ******** included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:24:02 -0400 (0:00:00.065) 0:01:50.281 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034926", "end": "2024-10-07 08:24:03.081954", "rc": 1, "start": "2024-10-07 08:24:03.047028" } 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-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 07 October 2024 08:24:03 -0400 (0:00:00.408) 0:01:50.689 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008894", "end": "2024-10-07 08:24:03.503940", "rc": 0, "start": "2024-10-07 08:24:03.495046" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:03:a0:2c:9b:0b brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.47.86/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2739sec preferred_lft 2739sec inet6 fe80::3:a0ff:fe2c:9b0b/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.86 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.86 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 07 October 2024 08:24:03 -0400 (0:00:00.399) 0:01:51.089 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.228656", "end": "2024-10-07 08:24:04.108381", "rc": 0, "start": "2024-10-07 08:24:03.879725" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2523 0 --:--:-- --:--:-- --:--:-- 2541 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 3520 0 --:--:-- --:--:-- --:--:-- 3548 PLAY RECAP ********************************************************************* managed-node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 Monday 07 October 2024 08:24:04 -0400 (0:00:00.652) 0:01:51.742 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.12s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.94s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.85s /tmp/collections-RRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3