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-HYN executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Thursday 03 October 2024 23:52:12 -0400 (0:00:00.010) 0:00:00.010 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Thursday 03 October 2024 23:52:13 -0400 (0:00:01.267) 0:00:01.278 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 03 October 2024 23:52:13 -0400 (0:00:00.086) 0:00:01.365 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.537) 0:00:01.902 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.423) 0:00:02.325 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.024) 0:00:02.349 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.016) 0:00:02.366 ****** included: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.060) 0:00:02.426 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.017) 0:00:02.444 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.013) 0:00:02.457 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.012) 0:00:02.470 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.011) 0:00:02.482 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Thursday 03 October 2024 23:52:14 -0400 (0:00:00.012) 0:00:02.494 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Thursday 03 October 2024 23:52:15 -0400 (0:00:00.025) 0:00:02.519 ****** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Thursday 03 October 2024 23:52:15 -0400 (0:00:00.718) 0:00:03.237 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Thursday 03 October 2024 23:52:15 -0400 (0:00:00.020) 0:00:03.257 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:52:15 -0400 (0:00:00.028) 0:00:03.286 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:52:15 -0400 (0:00:00.022) 0:00:03.308 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:52:15 -0400 (0:00:00.075) 0:00:03.383 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:52:15 -0400 (0:00:00.023) 0:00:03.407 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:52:15 -0400 (0:00:00.021) 0:00:03.428 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003306", "end": "2024-10-03 23:52:16.297829", "rc": 0, "start": "2024-10-03 23:52:16.294523" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:52:16 -0400 (0:00:00.412) 0:00:03.841 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:52:16 -0400 (0:00:00.019) 0:00:03.860 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:52:16 -0400 (0:00:00.019) 0:00:03.880 ****** included: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:52:16 -0400 (0:00:00.027) 0:00:03.907 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007499", "end": "2024-10-03 23:52:16.683857", "rc": 1, "start": "2024-10-03 23:52:16.676358" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:52:16 -0400 (0:00:00.340) 0:00:04.248 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:52:16 -0400 (0:00:00.035) 0:00:04.283 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:52:17 -0400 (0:00:00.367) 0:00:04.651 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:52:17 -0400 (0:00:00.020) 0:00:04.671 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:52:17 -0400 (0:00:00.034) 0:00:04.705 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:52:17 -0400 (0:00:00.044) 0:00:04.750 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:52:17 -0400 (0:00:00.032) 0:00:04.782 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:52:17 -0400 (0:00:00.034) 0:00:04.817 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:52:17 -0400 (0:00:00.018) 0:00:04.835 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:52:17 -0400 (0:00:00.018) 0:00:04.853 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:52:19 -0400 (0:00:01.731) 0:00:06.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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:52:20 -0400 (0:00:01.087) 0:00:07.672 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.053) 0:00:07.726 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.049) 0:00:07.775 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.037) 0:00:07.813 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.068) 0:00:07.882 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.099) 0:00:07.981 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.065) 0:00:08.047 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.068) 0:00:08.115 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.090) 0:00:08.206 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.029) 0:00:08.236 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.053) 0:00: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 : Enable and start NetworkManager] ***** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:52:20 -0400 (0:00:00.075) 0:00:08.364 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:52:21 -0400 (0:00:01.115) 0:00:09.480 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:52:22 -0400 (0:00:00.101) 0:00:09.582 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:52:22 -0400 (0:00:00.052) 0:00:09.634 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:52:22 -0400 (0:00:00.070) 0:00:09.705 ****** 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, e85083f0-6d25-495b-8e59-27767f4c4f31 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:52:22 -0400 (0:00:00.776) 0:00:10.481 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:52:23 -0400 (0:00:00.054) 0:00:10.536 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e85083f0-6d25-495b-8e59-27767f4c4f31" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:52:23 -0400 (0:00:00.059) 0:00:10.595 ****** 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, e85083f0-6d25-495b-8e59-27767f4c4f31\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e85083f0-6d25-495b-8e59-27767f4c4f31" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:52:23 -0400 (0:00:00.091) 0:00:10.686 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:52:23 -0400 (0:00:00.055) 0:00:10.742 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:52:23 -0400 (0:00:00.474) 0:00:11.216 ****** 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, e85083f0-6d25-495b-8e59-27767f4c4f31\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e85083f0-6d25-495b-8e59-27767f4c4f31" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:52:23 -0400 (0:00:00.060) 0:00:11.277 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:52:23 -0400 (0:00:00.101) 0:00:11.378 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:52:23 -0400 (0:00:00.081) 0:00:11.460 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:52:24 -0400 (0:00:00.080) 0:00:11.540 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:52:24 -0400 (0:00:00.342) 0:00:11.883 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:52:24 -0400 (0:00:00.035) 0:00:11.918 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017701", "end": "2024-10-03 23:52:24.709911", "rc": 0, "start": "2024-10-03 23:52:24.692210" } 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:52:24 -0400 (0:00:00.348) 0:00:12.267 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:52:24 -0400 (0:00:00.035) 0:00:12.302 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:52:24 -0400 (0:00:00.036) 0:00:12.339 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:52:24 -0400 (0:00:00.049) 0:00:12.389 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:52:24 -0400 (0:00:00.051) 0:00:12.440 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:52:24 -0400 (0:00:00.036) 0:00:12.477 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:52:25 -0400 (0:00:00.043) 0:00:12.520 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:52:25 -0400 (0:00:00.058) 0:00:12.579 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:52:25 -0400 (0:00:00.058) 0:00:12.637 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:52:25 -0400 (0:00:00.137) 0:00:12.775 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:52:25 -0400 (0:00:00.106) 0:00:12.881 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728013942.8146186, "block_size": 4096, "blocks": 0, "ctime": 1728013942.8146186, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30693, "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": 1728013942.8146186, "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:52:25 -0400 (0:00:00.374) 0:00:13.255 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:52:25 -0400 (0:00:00.095) 0:00:13.351 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:52:25 -0400 (0:00:00.054) 0:00:13.405 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:52:26 -0400 (0:00:00.153) 0:00:13.559 ****** 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.057963", "end": "2024-10-03 23:52:26.437611", "rc": 1, "start": "2024-10-03 23:52:26.379648" } STDOUT: Connection 'statebr' (e85083f0-6d25-495b-8e59-27767f4c4f31) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Thursday 03 October 2024 23:52:26 -0400 (0:00:00.455) 0:00:14.014 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:52:26 -0400 (0:00:00.097) 0:00:14.112 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:52:26 -0400 (0:00:00.055) 0:00:14.167 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:52:26 -0400 (0:00:00.121) 0:00:14.289 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:52:26 -0400 (0:00:00.123) 0:00:14.413 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:52:27 -0400 (0:00:00.153) 0:00:14.566 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003475", "end": "2024-10-03 23:52:27.401896", "rc": 0, "start": "2024-10-03 23:52:27.398421" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:52:27 -0400 (0:00:00.397) 0:00:14.963 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:52:27 -0400 (0:00:00.033) 0:00:14.997 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:52:27 -0400 (0:00:00.032) 0:00:15.029 ****** included: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:52:27 -0400 (0:00:00.082) 0:00:15.112 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005905", "end": "2024-10-03 23:52:27.916320", "rc": 1, "start": "2024-10-03 23:52:27.910415" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:52:27 -0400 (0:00:00.368) 0:00:15.481 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:52:28 -0400 (0:00:00.092) 0:00:15.573 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:52:28 -0400 (0:00:00.333) 0:00:15.907 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:52:28 -0400 (0:00:00.064) 0:00:15.972 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 03 October 2024 23:52:28 -0400 (0:00:00.103) 0:00:16.075 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:52:28 -0400 (0:00:00.124) 0:00:16.200 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:52:28 -0400 (0:00:00.140) 0:00:16.341 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:52:28 -0400 (0:00:00.092) 0:00:16.433 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:52:28 -0400 (0:00:00.054) 0:00:16.488 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:52:29 -0400 (0:00:00.043) 0:00:16.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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:52:30 -0400 (0:00:01.536) 0:00:18.068 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:52:31 -0400 (0:00:00.754) 0:00:18.822 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:52:31 -0400 (0:00:00.034) 0:00:18.857 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:52:31 -0400 (0:00:00.061) 0:00:18.918 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:52:31 -0400 (0:00:00.031) 0:00:18.950 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:52:31 -0400 (0:00:00.059) 0:00:19.009 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:52:31 -0400 (0:00:00.137) 0:00:19.147 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:52:31 -0400 (0:00:00.155) 0:00:19.303 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:52:31 -0400 (0:00:00.147) 0:00:19.450 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:52:32 -0400 (0:00:00.177) 0:00:19.627 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:52:32 -0400 (0:00:00.050) 0:00:19.678 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:52:32 -0400 (0:00:00.052) 0:00:19.730 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:52:32 -0400 (0:00:00.103) 0:00:19.834 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:52:32 -0400 (0:00:00.592) 0:00:20.426 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:52:32 -0400 (0:00:00.059) 0:00:20.485 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:52:33 -0400 (0:00:00.029) 0:00:20.515 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:52:33 -0400 (0:00:00.030) 0:00:20.546 ****** 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, 29f14dba-5db4-41f9-b7d4-57d28ca8efa2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:52:33 -0400 (0:00:00.506) 0:00:21.053 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:52:33 -0400 (0:00:00.035) 0:00:21.088 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 29f14dba-5db4-41f9-b7d4-57d28ca8efa2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:52:33 -0400 (0:00:00.035) 0:00:21.124 ****** 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, 29f14dba-5db4-41f9-b7d4-57d28ca8efa2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 29f14dba-5db4-41f9-b7d4-57d28ca8efa2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:52:33 -0400 (0:00:00.034) 0:00:21.158 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:52:33 -0400 (0:00:00.077) 0:00:21.236 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 03 October 2024 23:52:34 -0400 (0:00:00.383) 0:00:21.620 ****** 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, 29f14dba-5db4-41f9-b7d4-57d28ca8efa2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 29f14dba-5db4-41f9-b7d4-57d28ca8efa2" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:52:34 -0400 (0:00:00.047) 0:00:21.667 ****** included: /tmp/collections-HYN/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-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:52:34 -0400 (0:00:00.094) 0:00:21.761 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:52:34 -0400 (0:00:00.083) 0:00:21.845 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:52:34 -0400 (0:00:00.397) 0:00:22.242 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:52:34 -0400 (0:00:00.070) 0:00:22.312 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:52:34 -0400 (0:00:00.103) 0:00:22.415 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:52:34 -0400 (0:00:00.076) 0:00:22.492 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:52:35 -0400 (0:00:00.458) 0:00:22.951 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:52:35 -0400 (0:00:00.057) 0:00:23.008 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017923", "end": "2024-10-03 23:52:35.855605", "rc": 0, "start": "2024-10-03 23:52:35.837682" } 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:52:35 -0400 (0:00:00.425) 0:00:23.433 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:52:35 -0400 (0:00:00.060) 0:00:23.494 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.037) 0:00:23.531 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.039) 0:00:23.571 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.081) 0:00:23.652 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.030) 0:00:23.683 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.035) 0:00:23.718 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.040) 0:00:23.758 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.051) 0:00:23.810 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.082) 0:00:23.892 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.068) 0:00:23.961 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:52:36 -0400 (0:00:00.155) 0:00:24.116 ****** 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.035664", "end": "2024-10-03 23:52:36.968278", "rc": 1, "start": "2024-10-03 23:52:36.932614" } STDOUT: Connection 'statebr' (29f14dba-5db4-41f9-b7d4-57d28ca8efa2) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Thursday 03 October 2024 23:52:37 -0400 (0:00:00.447) 0:00:24.564 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:52:37 -0400 (0:00:00.125) 0:00:24.689 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:52:37 -0400 (0:00:00.054) 0:00:24.744 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:52:37 -0400 (0:00:00.111) 0:00:24.855 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:52:37 -0400 (0:00:00.178) 0:00:25.033 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:52:37 -0400 (0:00:00.128) 0:00:25.162 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003194", "end": "2024-10-03 23:52:37.986870", "rc": 0, "start": "2024-10-03 23:52:37.983676" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:52:38 -0400 (0:00:00.434) 0:00:25.596 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:52:38 -0400 (0:00:00.037) 0:00:25.634 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:52:38 -0400 (0:00:00.049) 0:00:25.684 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:52:38 -0400 (0:00:00.107) 0:00:25.792 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:52:38 -0400 (0:00:00.116) 0:00:25.908 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:52:38 -0400 (0:00:00.094) 0:00:26.002 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:52:38 -0400 (0:00:00.067) 0:00:26.070 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:52:38 -0400 (0:00:00.047) 0:00:26.118 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:52:38 -0400 (0:00:00.039) 0:00:26.158 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:52:40 -0400 (0:00:01.543) 0:00:27.701 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:52:41 -0400 (0:00:00.842) 0:00:28.543 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:52:41 -0400 (0:00:00.066) 0:00:28.609 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:52:41 -0400 (0:00:00.100) 0:00:28.710 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:52:41 -0400 (0:00:00.097) 0:00:28.808 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:52:41 -0400 (0:00:00.155) 0:00:28.964 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:52:41 -0400 (0:00:00.128) 0:00:29.093 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:52:41 -0400 (0:00:00.118) 0:00:29.211 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:52:41 -0400 (0:00:00.118) 0:00:29.330 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:52:42 -0400 (0:00:00.190) 0:00:29.521 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:52:42 -0400 (0:00:00.095) 0:00:29.616 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:52:42 -0400 (0:00:00.068) 0:00:29.685 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:52:42 -0400 (0:00:00.110) 0:00:29.795 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:52:42 -0400 (0:00:00.567) 0:00:30.362 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:52:42 -0400 (0:00:00.073) 0:00:30.436 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:52:42 -0400 (0:00:00.030) 0:00:30.466 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:52:43 -0400 (0:00:00.038) 0:00:30.505 ****** 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, c1d490c4-89a0-4956-8884-b65e476dea90 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:52:43 -0400 (0:00:00.745) 0:00:31.250 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:52:43 -0400 (0:00:00.061) 0:00:31.312 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1d490c4-89a0-4956-8884-b65e476dea90" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:52:43 -0400 (0:00:00.064) 0:00:31.377 ****** 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, c1d490c4-89a0-4956-8884-b65e476dea90\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1d490c4-89a0-4956-8884-b65e476dea90" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:52:43 -0400 (0:00:00.058) 0:00:31.435 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:52:43 -0400 (0:00:00.050) 0:00:31.485 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:52:44 -0400 (0:00:00.494) 0:00:31.980 ****** 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, c1d490c4-89a0-4956-8884-b65e476dea90\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1d490c4-89a0-4956-8884-b65e476dea90" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:52:44 -0400 (0:00:00.057) 0:00:32.038 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:52:44 -0400 (0:00:00.093) 0:00:32.132 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:52:44 -0400 (0:00:00.102) 0:00:32.235 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:52:44 -0400 (0:00:00.079) 0:00:32.314 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:52:44 -0400 (0:00:00.068) 0:00:32.383 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:52:44 -0400 (0:00:00.035) 0:00:32.419 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:52:44 -0400 (0:00:00.041) 0:00:32.460 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:52:46 -0400 (0:00:01.584) 0:00:34.044 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:52:47 -0400 (0:00:00.853) 0:00:34.898 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:52:47 -0400 (0:00:00.060) 0:00:34.959 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:52:47 -0400 (0:00:00.151) 0:00:35.110 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:52:47 -0400 (0:00:00.062) 0:00:35.172 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:52:47 -0400 (0:00:00.086) 0:00:35.259 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:52:47 -0400 (0:00:00.102) 0:00:35.362 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:52:47 -0400 (0:00:00.060) 0:00:35.422 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:52:48 -0400 (0:00:00.095) 0:00:35.517 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:52:48 -0400 (0:00:00.120) 0:00:35.638 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:52:48 -0400 (0:00:00.050) 0:00:35.688 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:52:48 -0400 (0:00:00.030) 0:00:35.718 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:52:48 -0400 (0:00:00.060) 0:00:35.778 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:52:48 -0400 (0:00:00.524) 0:00:36.303 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:52:48 -0400 (0:00:00.058) 0:00:36.362 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:52:48 -0400 (0:00:00.031) 0:00:36.393 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:52:48 -0400 (0:00:00.030) 0:00:36.424 ****** 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, c1d490c4-89a0-4956-8884-b65e476dea90 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:52:49 -0400 (0:00:00.505) 0:00:36.930 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:52:49 -0400 (0:00:00.032) 0:00:36.962 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1d490c4-89a0-4956-8884-b65e476dea90 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:52:49 -0400 (0:00:00.042) 0:00:37.004 ****** 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, c1d490c4-89a0-4956-8884-b65e476dea90 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1d490c4-89a0-4956-8884-b65e476dea90 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:52:49 -0400 (0:00:00.062) 0:00:37.066 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:52:49 -0400 (0:00:00.042) 0:00:37.109 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:52:50 -0400 (0:00:00.443) 0:00:37.552 ****** included: /tmp/collections-HYN/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-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:52:50 -0400 (0:00:00.107) 0:00:37.660 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:52:50 -0400 (0:00:00.102) 0:00:37.762 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728013963.6120896, "block_size": 4096, "blocks": 0, "ctime": 1728013963.6120896, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30824, "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": 1728013963.6120896, "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:52:50 -0400 (0:00:00.406) 0:00:38.169 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:52:50 -0400 (0:00:00.103) 0:00:38.273 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:52:50 -0400 (0:00:00.118) 0:00:38.391 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:52:50 -0400 (0:00:00.062) 0:00:38.454 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:52:51 -0400 (0:00:00.443) 0:00:38.898 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:52:51 -0400 (0:00:00.068) 0:00:38.966 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018467", "end": "2024-10-03 23:52:51.773234", "rc": 0, "start": "2024-10-03 23:52:51.754767" } 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:52:51 -0400 (0:00:00.369) 0:00:39.336 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:52:51 -0400 (0:00:00.059) 0:00:39.396 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:52:51 -0400 (0:00:00.052) 0:00:39.448 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:52:51 -0400 (0:00:00.045) 0:00:39.493 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.034) 0:00:39.528 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.077) 0:00:39.606 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.040) 0:00:39.646 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.036) 0:00:39.682 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.034) 0:00:39.717 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.047) 0:00:39.764 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.038) 0:00:39.802 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.119) 0:00:39.921 ****** 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.066704", "end": "2024-10-03 23:52:52.787585", "rc": 1, "start": "2024-10-03 23:52:52.720881" } STDOUT: Connection 'statebr' (c1d490c4-89a0-4956-8884-b65e476dea90) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.443) 0:00:40.365 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:52:52 -0400 (0:00:00.091) 0:00:40.457 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.044) 0:00:40.501 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.071) 0:00:40.572 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.050) 0:00:40.623 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.049) 0:00:40.672 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003404", "end": "2024-10-03 23:52:53.440938", "rc": 0, "start": "2024-10-03 23:52:53.437534" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.324) 0:00:40.996 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.067) 0:00:41.064 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.033) 0:00:41.097 ****** included: /tmp/collections-HYN/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-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.057) 0:00:41.155 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.067) 0:00:41.222 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.061) 0:00:41.284 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.057) 0:00:41.341 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.034) 0:00:41.376 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:52:53 -0400 (0:00:00.035) 0:00:41.411 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:52:55 -0400 (0:00:01.618) 0:00:43.030 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.850) 0:00:43.881 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.045) 0:00:43.926 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.036) 0:00:43.963 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.079) 0:00:44.043 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.050) 0:00:44.093 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.062) 0:00:44.156 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.050) 0:00:44.207 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.062) 0:00:44.269 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.112) 0:00:44.381 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.056) 0:00:44.437 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:52:56 -0400 (0:00:00.055) 0:00:44.493 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:52:57 -0400 (0:00:00.101) 0:00:44.594 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:52:57 -0400 (0:00:00.610) 0:00:45.205 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:52:57 -0400 (0:00:00.097) 0:00:45.302 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:52:57 -0400 (0:00:00.051) 0:00:45.354 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:52:57 -0400 (0:00:00.053) 0:00:45.408 ****** 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, 0d7863b1-8a59-4806-8c0b-2578881f05e4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:52:58 -0400 (0:00:00.619) 0:00:46.028 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:52:58 -0400 (0:00:00.077) 0:00:46.105 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d7863b1-8a59-4806-8c0b-2578881f05e4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:52:58 -0400 (0:00:00.060) 0:00:46.166 ****** 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, 0d7863b1-8a59-4806-8c0b-2578881f05e4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d7863b1-8a59-4806-8c0b-2578881f05e4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:52:58 -0400 (0:00:00.039) 0:00:46.206 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:52:58 -0400 (0:00:00.037) 0:00:46.244 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:52:59 -0400 (0:00:00.436) 0:00:46.681 ****** 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, 0d7863b1-8a59-4806-8c0b-2578881f05e4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d7863b1-8a59-4806-8c0b-2578881f05e4" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:52:59 -0400 (0:00:00.076) 0:00:46.757 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:52:59 -0400 (0:00:00.193) 0:00:46.950 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:52:59 -0400 (0:00:00.210) 0:00:47.161 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:52:59 -0400 (0:00:00.153) 0:00:47.315 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:52:59 -0400 (0:00:00.068) 0:00:47.383 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:52:59 -0400 (0:00:00.067) 0:00:47.450 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:53:01 -0400 (0:00:01.536) 0:00:48.987 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:53:02 -0400 (0:00:00.860) 0:00:49.848 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:53:02 -0400 (0:00:00.045) 0:00:49.893 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:53:02 -0400 (0:00:00.045) 0:00:49.939 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:53:02 -0400 (0:00:00.038) 0:00:49.977 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:53:02 -0400 (0:00:00.066) 0:00:50.044 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:53:02 -0400 (0:00:00.104) 0:00:50.148 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:53:02 -0400 (0:00:00.049) 0:00:50.198 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:53:02 -0400 (0:00:00.081) 0:00:50.279 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:53:02 -0400 (0:00:00.178) 0:00:50.459 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:53:03 -0400 (0:00:00.102) 0:00:50.561 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:53:03 -0400 (0:00:00.104) 0:00:50.666 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:53:03 -0400 (0:00:00.128) 0:00:50.794 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:53:03 -0400 (0:00:00.642) 0:00:51.436 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:53:04 -0400 (0:00:00.116) 0:00:51.552 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:53:04 -0400 (0:00:00.049) 0:00:51.602 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:53:04 -0400 (0:00:00.037) 0:00:51.639 ****** 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, 0d7863b1-8a59-4806-8c0b-2578881f05e4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:53:04 -0400 (0:00:00.568) 0:00:52.208 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:53:04 -0400 (0:00:00.045) 0:00:52.253 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d7863b1-8a59-4806-8c0b-2578881f05e4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:53:04 -0400 (0:00:00.062) 0:00:52.316 ****** 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, 0d7863b1-8a59-4806-8c0b-2578881f05e4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d7863b1-8a59-4806-8c0b-2578881f05e4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:53:04 -0400 (0:00:00.060) 0:00:52.377 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:53:04 -0400 (0:00:00.062) 0:00:52.440 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:53:05 -0400 (0:00:00.445) 0:00:52.885 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:53:05 -0400 (0:00:00.147) 0:00:53.033 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:53:05 -0400 (0:00:00.080) 0:00:53.113 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:53:05 -0400 (0:00:00.118) 0:00:53.231 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:53:05 -0400 (0:00:00.153) 0:00:53.385 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:53:05 -0400 (0:00:00.088) 0:00:53.473 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:53:06 -0400 (0:00:00.088) 0:00:53.562 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:53:07 -0400 (0:00:01.586) 0:00:55.148 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:53:08 -0400 (0:00:00.785) 0:00:55.933 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:53:08 -0400 (0:00:00.038) 0:00:55.971 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:53:08 -0400 (0:00:00.030) 0:00:56.001 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:53:08 -0400 (0:00:00.031) 0:00:56.033 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:53:08 -0400 (0:00:00.052) 0:00:56.085 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:53:08 -0400 (0:00:00.073) 0:00:56.158 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:53:08 -0400 (0:00:00.150) 0:00:56.308 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:53:08 -0400 (0:00:00.085) 0:00:56.394 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:53:08 -0400 (0:00:00.089) 0:00:56.483 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:53:09 -0400 (0:00:00.041) 0:00:56.525 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:53:09 -0400 (0:00:00.030) 0:00:56.555 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:53:09 -0400 (0:00:00.059) 0:00:56.615 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:53:09 -0400 (0:00:00.532) 0:00:57.147 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:53:09 -0400 (0:00:00.062) 0:00:57.210 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:53:09 -0400 (0:00:00.031) 0:00:57.241 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:53:09 -0400 (0:00:00.030) 0:00:57.271 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:53:10 -0400 (0:00:00.528) 0:00:57.799 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:53:10 -0400 (0:00:00.053) 0:00:57.853 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:53:10 -0400 (0:00:00.058) 0:00:57.911 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:53:10 -0400 (0:00:00.040) 0:00:57.952 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:53:10 -0400 (0:00:00.031) 0:00:57.983 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:53:10 -0400 (0:00:00.351) 0:00:58.335 ****** included: /tmp/collections-HYN/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-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:53:10 -0400 (0:00:00.066) 0:00:58.402 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:53:10 -0400 (0:00:00.088) 0:00:58.491 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728013978.408411, "block_size": 4096, "blocks": 0, "ctime": 1728013978.408411, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30955, "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": 1728013978.408411, "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:53:11 -0400 (0:00:00.380) 0:00:58.871 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:53:11 -0400 (0:00:00.061) 0:00:58.933 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:53:11 -0400 (0:00:00.099) 0:00:59.032 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:53:11 -0400 (0:00:00.058) 0:00:59.091 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:53:11 -0400 (0:00:00.374) 0:00:59.465 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.055) 0:00:59.520 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017997", "end": "2024-10-03 23:53:12.316116", "rc": 1, "start": "2024-10-03 23:53:12.298119" } 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.363) 0:00:59.884 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.037) 0:00:59.921 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.032) 0:00:59.954 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.031) 0:00:59.985 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.032) 0:01:00.017 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.030) 0:01:00.048 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.034) 0:01:00.082 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.048) 0:01:00.130 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.032) 0:01:00.163 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:53:12 -0400 (0:00:00.110) 0:01:00.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.071953", "end": "2024-10-03 23:53:13.127421", "rc": 1, "start": "2024-10-03 23:53:13.055468" } STDOUT: Connection 'statebr' (0d7863b1-8a59-4806-8c0b-2578881f05e4) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Thursday 03 October 2024 23:53:13 -0400 (0:00:00.425) 0:01:00.699 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:53:13 -0400 (0:00:00.064) 0:01:00.763 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:53:13 -0400 (0:00:00.046) 0:01:00.810 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:53:13 -0400 (0:00:00.110) 0:01:00.920 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:53:13 -0400 (0:00:00.139) 0:01:01.059 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:53:13 -0400 (0:00:00.095) 0:01:01.155 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003238", "end": "2024-10-03 23:53:13.963152", "rc": 0, "start": "2024-10-03 23:53:13.959914" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:53:14 -0400 (0:00:00.425) 0:01:01.580 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:53:14 -0400 (0:00:00.132) 0:01:01.713 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:53:14 -0400 (0:00:00.080) 0:01:01.794 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:53:14 -0400 (0:00:00.116) 0:01:01.910 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:53:14 -0400 (0:00:00.167) 0:01:02.077 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:53:14 -0400 (0:00:00.230) 0:01:02.308 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:53:14 -0400 (0:00:00.127) 0:01:02.436 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:53:15 -0400 (0:00:00.118) 0:01:02.554 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:53:15 -0400 (0:00:00.118) 0:01:02.672 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:53:16 -0400 (0:00:01.659) 0:01:04.332 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:53:17 -0400 (0:00:00.888) 0:01:05.220 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:53:17 -0400 (0:00:00.098) 0:01:05.319 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:53:17 -0400 (0:00:00.074) 0:01:05.394 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:53:17 -0400 (0:00:00.061) 0:01:05.456 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:53:18 -0400 (0:00:00.092) 0:01:05.549 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:53:18 -0400 (0:00:00.102) 0:01:05.651 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:53:18 -0400 (0:00:00.100) 0:01:05.751 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:53:18 -0400 (0:00:00.101) 0:01:05.853 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:53:18 -0400 (0:00:00.149) 0:01:06.003 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:53:18 -0400 (0:00:00.142) 0:01:06.145 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:53:18 -0400 (0:00:00.054) 0:01:06.199 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:53:18 -0400 (0:00:00.076) 0:01:06.276 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:53:19 -0400 (0:00:00.553) 0:01:06.829 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:53:19 -0400 (0:00:00.085) 0:01:06.915 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:53:19 -0400 (0:00:00.047) 0:01:06.963 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:53:19 -0400 (0:00:00.055) 0:01:07.018 ****** 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, f52e0dc4-f678-4dba-8b18-14000719b162 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:53:20 -0400 (0:00:00.649) 0:01:07.667 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:53:20 -0400 (0:00:00.065) 0:01:07.733 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f52e0dc4-f678-4dba-8b18-14000719b162" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:53:20 -0400 (0:00:00.070) 0:01:07.803 ****** 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, f52e0dc4-f678-4dba-8b18-14000719b162\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f52e0dc4-f678-4dba-8b18-14000719b162" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:53:20 -0400 (0:00:00.067) 0:01:07.871 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:53:20 -0400 (0:00:00.063) 0:01:07.935 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:53:20 -0400 (0:00:00.355) 0:01:08.290 ****** 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, f52e0dc4-f678-4dba-8b18-14000719b162\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f52e0dc4-f678-4dba-8b18-14000719b162" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:53:20 -0400 (0:00:00.037) 0:01:08.328 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:53:20 -0400 (0:00:00.076) 0:01:08.404 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:53:21 -0400 (0:00:00.149) 0:01:08.553 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:53:21 -0400 (0:00:00.093) 0:01:08.647 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:53:21 -0400 (0:00:00.064) 0:01:08.712 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:53:21 -0400 (0:00:00.045) 0:01:08.757 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:53:22 -0400 (0:00:01.533) 0:01:10.291 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:53:23 -0400 (0:00:00.754) 0:01:11.045 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:53:23 -0400 (0:00:00.036) 0:01:11.081 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:53:23 -0400 (0:00:00.030) 0:01:11.112 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:53:23 -0400 (0:00:00.036) 0:01:11.148 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:53:23 -0400 (0:00:00.106) 0:01:11.255 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:53:23 -0400 (0:00:00.124) 0:01:11.379 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:53:23 -0400 (0:00:00.078) 0:01:11.458 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:53:24 -0400 (0:00:00.061) 0:01:11.519 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:53:24 -0400 (0:00:00.098) 0:01:11.617 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:53:24 -0400 (0:00:00.041) 0:01:11.659 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:53:24 -0400 (0:00:00.035) 0:01:11.694 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:53:24 -0400 (0:00:00.116) 0:01:11.811 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:53:24 -0400 (0:00:00.591) 0:01:12.402 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:53:25 -0400 (0:00:00.127) 0:01:12.530 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:53:25 -0400 (0:00:00.081) 0:01:12.611 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:53:25 -0400 (0:00:00.065) 0:01:12.677 ****** 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, f52e0dc4-f678-4dba-8b18-14000719b162 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:53:25 -0400 (0:00:00.633) 0:01:13.311 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:53:25 -0400 (0:00:00.030) 0:01:13.341 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f52e0dc4-f678-4dba-8b18-14000719b162 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:53:25 -0400 (0:00:00.035) 0:01:13.377 ****** 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, f52e0dc4-f678-4dba-8b18-14000719b162 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f52e0dc4-f678-4dba-8b18-14000719b162 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:53:25 -0400 (0:00:00.034) 0:01:13.411 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:53:25 -0400 (0:00:00.031) 0:01:13.443 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:53:26 -0400 (0:00:00.398) 0:01:13.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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:53:26 -0400 (0:00:00.126) 0:01:13.968 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:53:26 -0400 (0:00:00.093) 0:01:14.061 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:53:26 -0400 (0:00:00.094) 0:01:14.156 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:53:26 -0400 (0:00:00.040) 0:01:14.197 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:53:26 -0400 (0:00:00.073) 0:01:14.271 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:53:28 -0400 (0:00:01.541) 0:01:15.813 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:53:29 -0400 (0:00:00.878) 0:01:16.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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:53:29 -0400 (0:00:00.071) 0:01:16.763 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:53:29 -0400 (0:00:00.057) 0:01:16.821 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:53:29 -0400 (0:00:00.055) 0:01:16.877 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:53:29 -0400 (0:00:00.091) 0:01:16.968 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:53:29 -0400 (0:00:00.141) 0:01:17.110 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:53:29 -0400 (0:00:00.123) 0:01:17.233 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:53:29 -0400 (0:00:00.113) 0:01:17.347 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:53:30 -0400 (0:00:00.176) 0:01:17.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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:53:30 -0400 (0:00:00.083) 0:01:17.607 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:53:30 -0400 (0:00:00.080) 0:01:17.687 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:53:30 -0400 (0:00:00.107) 0:01:17.794 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:53:30 -0400 (0:00:00.611) 0:01:18.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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:53:30 -0400 (0:00:00.059) 0:01:18.466 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:53:31 -0400 (0:00:00.097) 0:01:18.563 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:53:31 -0400 (0:00:00.052) 0:01:18.616 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:53:31 -0400 (0:00:00.605) 0:01:19.222 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:53:31 -0400 (0:00:00.054) 0:01:19.276 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:53:31 -0400 (0:00:00.052) 0:01:19.328 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:53:31 -0400 (0:00:00.060) 0:01:19.389 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:53:31 -0400 (0:00:00.052) 0:01:19.441 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:53:32 -0400 (0:00:00.407) 0:01:19.849 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:53:32 -0400 (0:00:00.084) 0:01:19.934 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:53:32 -0400 (0:00:00.072) 0:01:20.006 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:53:32 -0400 (0:00:00.062) 0:01:20.069 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:53:32 -0400 (0:00:00.062) 0:01:20.132 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:53:32 -0400 (0:00:00.058) 0:01:20.190 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:53:32 -0400 (0:00:00.061) 0:01:20.251 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:53:34 -0400 (0:00:01.838) 0:01:22.090 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:53:35 -0400 (0:00:00.897) 0:01:22.987 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:53:35 -0400 (0:00:00.046) 0:01:23.033 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:53:35 -0400 (0:00:00.035) 0:01:23.069 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:53:35 -0400 (0:00:00.033) 0:01:23.103 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:53:35 -0400 (0:00:00.052) 0:01:23.155 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:53:35 -0400 (0:00:00.066) 0:01:23.222 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:53:35 -0400 (0:00:00.077) 0:01:23.299 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:53:35 -0400 (0:00:00.101) 0:01:23.400 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:53:36 -0400 (0:00:00.159) 0:01:23.559 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:53:36 -0400 (0:00:00.054) 0:01:23.614 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:53:36 -0400 (0:00:00.056) 0:01:23.671 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:53:36 -0400 (0:00:00.099) 0:01:23.770 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:53:36 -0400 (0:00:00.593) 0:01:24.364 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:53:36 -0400 (0:00:00.061) 0:01:24.425 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:53:36 -0400 (0:00:00.031) 0:01:24.457 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:53:37 -0400 (0:00:00.088) 0:01:24.545 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:53:37 -0400 (0:00:00.554) 0:01:25.099 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:53:37 -0400 (0:00:00.033) 0:01:25.133 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:53:37 -0400 (0:00:00.037) 0:01:25.170 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:53:37 -0400 (0:00:00.036) 0:01:25.206 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:53:37 -0400 (0:00:00.032) 0:01:25.238 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:53:38 -0400 (0:00:00.349) 0:01:25.588 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:53:38 -0400 (0:00:00.058) 0:01:25.646 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:53:38 -0400 (0:00:00.068) 0:01:25.715 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:53:38 -0400 (0:00:00.057) 0:01:25.773 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:53:38 -0400 (0:00:00.406) 0:01:26.179 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:53:38 -0400 (0:00:00.054) 0:01:26.234 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016316", "end": "2024-10-03 23:53:39.050992", "rc": 1, "start": "2024-10-03 23:53:39.034676" } 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:53:39 -0400 (0:00:00.413) 0:01:26.647 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:53:39 -0400 (0:00:00.103) 0:01:26.751 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:53:39 -0400 (0:00:00.067) 0:01:26.818 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:53:39 -0400 (0:00:00.069) 0:01:26.888 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:53:39 -0400 (0:00:00.135) 0:01:27.024 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:53:39 -0400 (0:00:00.057) 0:01:27.081 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:53:39 -0400 (0:00:00.059) 0:01:27.141 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:53:39 -0400 (0:00:00.141) 0:01:27.282 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:53:39 -0400 (0:00:00.090) 0:01:27.373 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:53:40 -0400 (0:00:00.423) 0:01:27.797 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:53:40 -0400 (0:00:00.066) 0:01:27.864 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:53:40 -0400 (0:00:00.061) 0:01:27.925 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:53:40 -0400 (0:00:00.108) 0:01:28.034 ****** 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.035072", "end": "2024-10-03 23:53:40.873625", "rc": 1, "start": "2024-10-03 23:53:40.838553" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Thursday 03 October 2024 23:53:40 -0400 (0:00:00.456) 0:01:28.491 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:53:41 -0400 (0:00:00.113) 0:01:28.604 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:53:41 -0400 (0:00:00.074) 0:01:28.678 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:53:41 -0400 (0:00:00.133) 0:01:28.812 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:53:41 -0400 (0:00:00.107) 0:01:28.919 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:53:41 -0400 (0:00:00.055) 0:01:28.975 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003257", "end": "2024-10-03 23:53:41.744177", "rc": 0, "start": "2024-10-03 23:53:41.740920" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:53:41 -0400 (0:00:00.360) 0:01:29.335 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:53:41 -0400 (0:00:00.082) 0:01:29.418 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:53:41 -0400 (0:00:00.051) 0:01:29.469 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:53:42 -0400 (0:00:00.079) 0:01:29.549 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:53:42 -0400 (0:00:00.098) 0:01:29.648 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:53:42 -0400 (0:00:00.108) 0:01:29.756 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:53:42 -0400 (0:00:00.130) 0:01:29.887 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:53:42 -0400 (0:00:00.067) 0:01:29.954 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:53:42 -0400 (0:00:00.059) 0:01:30.014 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:53:44 -0400 (0:00:01.549) 0:01:31.564 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:53:44 -0400 (0:00:00.847) 0:01:32.411 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:53:44 -0400 (0:00:00.062) 0:01:32.474 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.057) 0:01:32.532 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.056) 0:01:32.588 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.093) 0:01:32.682 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.119) 0:01:32.802 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.116) 0:01:32.918 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.092) 0:01:33.011 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.112) 0:01:33.123 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.049) 0:01:33.173 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.052) 0:01:33.226 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:53:45 -0400 (0:00:00.070) 0:01:33.297 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:53:46 -0400 (0:00:00.594) 0:01:33.891 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:53:46 -0400 (0:00:00.123) 0:01:34.015 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:53:46 -0400 (0:00:00.082) 0:01:34.097 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:53:46 -0400 (0:00:00.103) 0:01:34.201 ****** 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, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:53:47 -0400 (0:00:00.784) 0:01:34.985 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:53:47 -0400 (0:00:00.117) 0:01:35.102 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:53:47 -0400 (0:00:00.061) 0:01:35.164 ****** 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, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:53:47 -0400 (0:00:00.047) 0:01:35.212 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:53:47 -0400 (0:00:00.035) 0:01:35.247 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:53:48 -0400 (0:00:00.346) 0:01:35.594 ****** 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, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:53:48 -0400 (0:00:00.035) 0:01:35.630 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:53:48 -0400 (0:00:00.070) 0:01:35.700 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:53:48 -0400 (0:00:00.062) 0:01:35.762 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:53:48 -0400 (0:00:00.057) 0:01:35.820 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:53:48 -0400 (0:00:00.036) 0:01:35.857 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:53:48 -0400 (0:00:00.038) 0:01:35.896 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:53:49 -0400 (0:00:01.533) 0:01:37.429 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:53:50 -0400 (0:00:00.921) 0:01:38.351 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:53:50 -0400 (0:00:00.127) 0:01:38.478 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.058) 0:01:38.537 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.056) 0:01:38.593 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.092) 0:01:38.685 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.105) 0:01:38.791 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.091) 0:01:38.883 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.101) 0:01:38.984 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.111) 0:01:39.096 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.076) 0:01:39.172 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.052) 0:01:39.225 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:53:51 -0400 (0:00:00.099) 0:01:39.325 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:53:52 -0400 (0:00:00.610) 0:01:39.936 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:53:52 -0400 (0:00:00.077) 0:01:40.014 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:53:52 -0400 (0:00:00.032) 0:01:40.046 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:53:52 -0400 (0:00:00.037) 0:01:40.083 ****** 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, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:53:53 -0400 (0:00:00.542) 0:01:40.626 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:53:53 -0400 (0:00:00.037) 0:01:40.663 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:53:53 -0400 (0:00:00.056) 0:01:40.719 ****** 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, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bc3b56f-4e44-47fd-9dc4-0ed3a74a50e3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:53:53 -0400 (0:00:00.145) 0:01:40.864 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:53:53 -0400 (0:00:00.103) 0:01:40.967 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:53:53 -0400 (0:00:00.397) 0:01:41.364 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:53:53 -0400 (0:00:00.069) 0:01:41.434 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:53:54 -0400 (0:00:00.091) 0:01:41.526 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:53:54 -0400 (0:00:00.070) 0:01:41.596 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:53:54 -0400 (0:00:00.058) 0:01:41.655 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:53:54 -0400 (0:00:00.069) 0:01:41.724 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:53:55 -0400 (0:00:01.618) 0:01:43.344 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:53:56 -0400 (0:00:00.836) 0:01:44.181 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:53:56 -0400 (0:00:00.046) 0:01:44.228 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:53:56 -0400 (0:00:00.047) 0:01:44.275 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:53:56 -0400 (0:00:00.134) 0:01:44.409 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:53:56 -0400 (0:00:00.060) 0:01:44.469 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:53:57 -0400 (0:00:00.086) 0:01:44.555 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:53:57 -0400 (0:00:00.059) 0:01:44.615 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:53:57 -0400 (0:00:00.178) 0:01:44.793 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:53:57 -0400 (0:00:00.246) 0:01:45.040 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:53:57 -0400 (0:00:00.055) 0:01:45.096 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:53:57 -0400 (0:00:00.055) 0:01:45.151 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:53:57 -0400 (0:00:00.064) 0:01:45.215 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:53:58 -0400 (0:00:00.569) 0:01:45.785 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:53:58 -0400 (0:00:00.106) 0:01:45.891 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:53:58 -0400 (0:00:00.074) 0:01:45.965 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:53:58 -0400 (0:00:00.064) 0:01:46.029 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:53:59 -0400 (0:00:00.735) 0:01:46.765 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:53:59 -0400 (0:00:00.032) 0:01:46.797 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:53:59 -0400 (0:00:00.044) 0:01:46.842 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:53:59 -0400 (0:00:00.058) 0:01:46.901 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:53:59 -0400 (0:00:00.037) 0:01:46.938 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:53:59 -0400 (0:00:00.414) 0:01:47.353 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:53:59 -0400 (0:00:00.070) 0:01:47.423 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:54:00 -0400 (0:00:00.075) 0:01:47.499 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:54:00 -0400 (0:00:00.064) 0:01:47.563 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:54:00 -0400 (0:00:00.056) 0:01:47.620 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:54:00 -0400 (0:00:00.049) 0:01:47.669 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:54:00 -0400 (0:00:00.062) 0:01:47.731 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:54:01 -0400 (0:00:01.652) 0:01:49.384 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:54:02 -0400 (0:00:00.855) 0:01:50.239 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:54:02 -0400 (0:00:00.050) 0:01:50.290 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:54:02 -0400 (0:00:00.035) 0:01:50.325 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:54:02 -0400 (0:00:00.038) 0:01:50.364 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:54:02 -0400 (0:00:00.115) 0:01:50.480 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:54:03 -0400 (0:00:00.066) 0:01:50.547 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:54:03 -0400 (0:00:00.055) 0:01:50.602 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:54:03 -0400 (0:00:00.058) 0:01:50.661 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:54:03 -0400 (0:00:00.112) 0:01:50.774 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:54:03 -0400 (0:00:00.038) 0:01:50.812 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:54:03 -0400 (0:00:00.051) 0:01:50.864 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:54:03 -0400 (0:00:00.098) 0:01:50.962 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:54:04 -0400 (0:00:00.554) 0:01:51.517 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:54:04 -0400 (0:00:00.072) 0:01:51.590 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:54:04 -0400 (0:00:00.032) 0:01:51.622 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:54:04 -0400 (0:00:00.030) 0:01:51.652 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:54:04 -0400 (0:00:00.515) 0:01:52.167 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:54:04 -0400 (0:00:00.056) 0:01:52.224 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:54:04 -0400 (0:00:00.042) 0:01:52.266 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:54:04 -0400 (0:00:00.056) 0:01:52.322 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:54:04 -0400 (0:00:00.058) 0:01:52.380 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:54:05 -0400 (0:00:00.425) 0:01:52.806 ****** included: /tmp/collections-HYN/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-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:54:05 -0400 (0:00:00.108) 0:01:52.914 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:54:05 -0400 (0:00:00.055) 0:01:52.970 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:54:05 -0400 (0:00:00.033) 0:01:53.003 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:54:05 -0400 (0:00:00.323) 0:01:53.327 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:54:05 -0400 (0:00:00.032) 0:01:53.360 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016691", "end": "2024-10-03 23:54:06.143400", "rc": 1, "start": "2024-10-03 23:54:06.126709" } 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:54:06 -0400 (0:00:00.343) 0:01:53.704 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:54:06 -0400 (0:00:00.061) 0:01:53.765 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:54:06 -0400 (0:00:00.058) 0:01:53.824 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:54:06 -0400 (0:00:00.043) 0:01:53.868 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:54:06 -0400 (0:00:00.040) 0:01:53.908 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:54:06 -0400 (0:00:00.033) 0:01:53.942 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 03 October 2024 23:54:06 -0400 (0:00:00.035) 0:01:53.978 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.224586", "end": "2024-10-03 23:54:06.966787", "rc": 0, "start": "2024-10-03 23:54:06.742201" } STDOUT: NetworkManager-1.51.0-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 03 October 2024 23:54:07 -0400 (0:00:00.547) 0:01:54.525 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.0-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 03 October 2024 23:54:07 -0400 (0:00:00.035) 0:01:54.561 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.51.0-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:54:07 -0400 (0:00:00.033) 0:01:54.594 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:54:07 -0400 (0:00:00.138) 0:01:54.733 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:54:07 -0400 (0:00:00.051) 0:01:54.784 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:54:07 -0400 (0:00:00.321) 0:01:55.106 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:54:07 -0400 (0:00:00.040) 0:01:55.146 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:54:07 -0400 (0:00:00.049) 0:01:55.196 ****** included: /tmp/collections-HYN/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-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:54:07 -0400 (0:00:00.110) 0:01:55.307 ****** 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.033198", "end": "2024-10-03 23:54:08.138174", "rc": 1, "start": "2024-10-03 23:54:08.104976" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 03 October 2024 23:54:08 -0400 (0:00:00.404) 0:01:55.712 ****** 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.008233", "end": "2024-10-03 23:54:08.489019", "rc": 0, "start": "2024-10-03 23:54:08.480786" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:ef:3d:2c:da:13 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.8.102/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2764sec preferred_lft 2764sec inet6 fe80::10ef:3dff:fe2c:da13/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.102 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.102 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 03 October 2024 23:54:08 -0400 (0:00:00.336) 0:01:56.048 ****** 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.295095", "end": "2024-10-03 23:54:09.117075", "rc": 0, "start": "2024-10-03 23:54:08.821980" } 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 5865 0 --:--:-- --:--:-- --:--:-- 5865 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1328 0 --:--:-- --:--:-- --:--:-- 1322 PLAY RECAP ********************************************************************* managed-node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Thursday 03 October 2024 23:54:09 -0400 (0:00:00.716) 0:01:56.764 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.12s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 1.09s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.90s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26