ansible-playbook [core 2.16.11] 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-OBH executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Friday 04 October 2024 10:03:37 -0400 (0:00:00.010) 0:00:00.010 ******** ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Friday 04 October 2024 10:03:38 -0400 (0:00:01.249) 0:00:01.259 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 04 October 2024 10:03:39 -0400 (0:00:00.127) 0:00:01.387 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 04 October 2024 10:03:39 -0400 (0:00:00.706) 0:00:02.094 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 04 October 2024 10:03:40 -0400 (0:00:00.487) 0:00:02.581 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 04 October 2024 10:03:40 -0400 (0:00:00.043) 0:00:02.624 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 04 October 2024 10:03:40 -0400 (0:00:00.028) 0:00:02.653 ******** included: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 04 October 2024 10:03:40 -0400 (0:00:00.141) 0:00:02.795 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 04 October 2024 10:03:41 -0400 (0:00:00.705) 0:00:03.501 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 04 October 2024 10:03:41 -0400 (0:00:00.013) 0:00:03.514 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 04 October 2024 10:03:41 -0400 (0:00:00.013) 0:00:03.528 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.217008", "end": "2024-10-04 10:03:41.751381", "rc": 0, "start": "2024-10-04 10:03:41.534373" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 04 October 2024 10:03:41 -0400 (0:00:00.601) 0:00:04.130 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Friday 04 October 2024 10:03:41 -0400 (0:00:00.018) 0:00:04.149 ******** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 04 October 2024 10:03:41 -0400 (0:00:00.040) 0:00:04.189 ******** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 04 October 2024 10:03:42 -0400 (0:00:00.806) 0:00:04.996 ******** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 04 October 2024 10:03:42 -0400 (0:00:00.021) 0:00:05.018 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:03:42 -0400 (0:00:00.036) 0:00:05.054 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:03:42 -0400 (0:00:00.025) 0:00:05.079 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:03:42 -0400 (0:00:00.072) 0:00:05.151 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:03:42 -0400 (0:00:00.031) 0:00:05.183 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:03:42 -0400 (0:00:00.026) 0:00:05.209 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002616", "end": "2024-10-04 10:03:43.190578", "rc": 0, "start": "2024-10-04 10:03:43.187962" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:03:43 -0400 (0:00:00.343) 0:00:05.553 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:03:43 -0400 (0:00:00.017) 0:00:05.570 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:03:43 -0400 (0:00:00.016) 0:00:05.587 ******** included: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 04 October 2024 10:03:43 -0400 (0:00:00.042) 0:00:05.630 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007652", "end": "2024-10-04 10:03:43.615228", "rc": 1, "start": "2024-10-04 10:03:43.607576" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:03:43 -0400 (0:00:00.356) 0:00:05.986 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:03:43 -0400 (0:00:00.031) 0:00:06.018 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:03:44 -0400 (0:00:00.460) 0:00:06.479 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:03:44 -0400 (0:00:00.021) 0:00:06.501 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:03:44 -0400 (0:00:00.028) 0:00:06.530 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:44 -0400 (0:00:00.043) 0:00:06.573 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:44 -0400 (0:00:00.038) 0:00:06.611 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:44 -0400 (0:00:00.051) 0:00:06.663 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:44 -0400 (0:00:00.024) 0:00:06.688 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:44 -0400 (0:00:00.025) 0:00:06.713 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:46 -0400 (0:00:01.617) 0:00:08.331 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:03:47 -0400 (0:00:01.953) 0:00:10.285 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:03:48 -0400 (0:00:00.057) 0:00:10.343 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:03:48 -0400 (0:00:00.051) 0:00:10.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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:03:48 -0400 (0:00:00.050) 0:00:10.445 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:03:48 -0400 (0:00:00.084) 0:00:10.529 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:03:48 -0400 (0:00:00.104) 0:00:10.633 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:03:48 -0400 (0:00:00.088) 0:00:10.722 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:03:48 -0400 (0:00:00.143) 0:00:10.866 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:03:48 -0400 (0:00:00.237) 0:00:11.103 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:03:48 -0400 (0:00:00.055) 0:00:11.158 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:03:48 -0400 (0:00:00.050) 0:00:11.209 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:03:48 -0400 (0:00:00.068) 0:00:11.277 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:03:49 -0400 (0:00:00.907) 0:00:12.185 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:03:49 -0400 (0:00:00.075) 0:00:12.261 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:03:49 -0400 (0:00:00.034) 0:00:12.295 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:03:50 -0400 (0:00:00.030) 0:00:12.326 ******** 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, 60556c6e-59ba-474e-a680-3a446282d7b2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:50 -0400 (0:00:00.710) 0:00:13.037 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:50 -0400 (0:00:00.037) 0:00:13.074 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 60556c6e-59ba-474e-a680-3a446282d7b2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:50 -0400 (0:00:00.037) 0:00:13.111 ******** 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, 60556c6e-59ba-474e-a680-3a446282d7b2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 60556c6e-59ba-474e-a680-3a446282d7b2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:50 -0400 (0:00:00.035) 0:00:13.146 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:50 -0400 (0:00:00.031) 0:00:13.178 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:03:51 -0400 (0:00:00.437) 0:00:13.615 ******** 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, 60556c6e-59ba-474e-a680-3a446282d7b2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 60556c6e-59ba-474e-a680-3a446282d7b2" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:03:51 -0400 (0:00:00.043) 0:00:13.658 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 10:03:51 -0400 (0:00:00.135) 0:00:13.794 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:03:51 -0400 (0:00:00.069) 0:00:13.863 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:03:51 -0400 (0:00:00.045) 0:00:13.908 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050630.62464, "block_size": 4096, "blocks": 8, "ctime": 1728050630.5846398, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728050630.5846398, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:03:51 -0400 (0:00:00.348) 0:00:14.257 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:03:51 -0400 (0:00:00.040) 0:00:14.298 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017559", "end": "2024-10-04 10:03:52.297139", "rc": 0, "start": "2024-10-04 10:03:52.279580" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:03:52 -0400 (0:00:00.400) 0:00:14.699 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:03:52 -0400 (0:00:00.066) 0:00:14.765 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:03:52 -0400 (0:00:00.055) 0:00:14.820 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:03:52 -0400 (0:00:00.051) 0:00:14.872 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:03:52 -0400 (0:00:00.051) 0:00:14.923 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 10:03:52 -0400 (0:00:00.054) 0:00:14.978 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 10:03:52 -0400 (0:00:00.068) 0:00:15.046 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 10:03:52 -0400 (0:00:00.100) 0:00:15.146 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:03:52 -0400 (0:00:00.058) 0:00:15.205 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 10:03:53 -0400 (0:00:00.270) 0:00:15.475 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:03:53 -0400 (0:00:00.090) 0:00:15.566 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050630.5865383, "block_size": 4096, "blocks": 0, "ctime": 1728050630.5865383, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37992, "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": 1728050630.5865383, "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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 10:03:53 -0400 (0:00:00.639) 0:00:16.205 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:03:53 -0400 (0:00:00.060) 0:00:16.266 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:03:54 -0400 (0:00:00.066) 0:00:16.332 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:03:54 -0400 (0:00:00.108) 0:00:16.441 ******** 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.054922", "end": "2024-10-04 10:03:54.538827", "rc": 1, "start": "2024-10-04 10:03:54.483905" } STDOUT: Connection 'statebr' (60556c6e-59ba-474e-a680-3a446282d7b2) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 04 October 2024 10:03:54 -0400 (0:00:00.516) 0:00:16.958 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:03:54 -0400 (0:00:00.071) 0:00:17.029 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:03:54 -0400 (0:00:00.051) 0:00:17.081 ******** 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. '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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:03:54 -0400 (0:00:00.108) 0:00:17.189 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:03:54 -0400 (0:00:00.090) 0:00:17.280 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:03:55 -0400 (0:00:00.086) 0:00:17.366 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002679", "end": "2024-10-04 10:03:55.341240", "rc": 0, "start": "2024-10-04 10:03:55.338561" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:03:55 -0400 (0:00:00.387) 0:00:17.754 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:03:55 -0400 (0:00:00.055) 0:00:17.809 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:03:55 -0400 (0:00:00.055) 0:00:17.865 ******** included: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 04 October 2024 10:03:55 -0400 (0:00:00.091) 0:00:17.957 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005455", "end": "2024-10-04 10:03:55.967988", "rc": 1, "start": "2024-10-04 10:03:55.962533" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:03:56 -0400 (0:00:00.409) 0:00:18.366 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:03:56 -0400 (0:00:00.061) 0:00:18.428 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:03:56 -0400 (0:00:00.439) 0:00:18.867 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:03:56 -0400 (0:00:00.092) 0:00:18.960 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 04 October 2024 10:03:56 -0400 (0:00:00.105) 0:00:19.065 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:56 -0400 (0:00:00.112) 0:00:19.178 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:56 -0400 (0:00:00.078) 0:00:19.257 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:57 -0400 (0:00:00.152) 0:00:19.409 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:57 -0400 (0:00:00.109) 0:00:19.519 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:57 -0400 (0:00:00.086) 0:00:19.605 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:59 -0400 (0:00:01.796) 0:00:21.401 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:00 -0400 (0:00:01.470) 0:00:22.872 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:00 -0400 (0:00:00.077) 0:00:22.949 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:00 -0400 (0:00:00.089) 0:00:23.038 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:00 -0400 (0:00:00.051) 0:00:23.090 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:00 -0400 (0:00:00.085) 0:00:23.175 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:00 -0400 (0:00:00.111) 0:00:23.287 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:01 -0400 (0:00:00.094) 0:00:23.382 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:01 -0400 (0:00:00.096) 0:00:23.478 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:01 -0400 (0:00:00.157) 0:00:23.635 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:01 -0400 (0:00:00.104) 0:00:23.740 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:01 -0400 (0:00:00.051) 0:00:23.792 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:01 -0400 (0:00:00.098) 0:00:23.891 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:02 -0400 (0:00:00.591) 0:00:24.482 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:02 -0400 (0:00:00.074) 0:00:24.557 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:02 -0400 (0:00:00.037) 0:00:24.594 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:02 -0400 (0:00:00.053) 0:00:24.647 ******** 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, fbbfb8d5-74ef-4b8f-a535-cf6e37f6a4b9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:02 -0400 (0:00:00.672) 0:00:25.320 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:03 -0400 (0:00:00.067) 0:00:25.388 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fbbfb8d5-74ef-4b8f-a535-cf6e37f6a4b9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:03 -0400 (0:00:00.043) 0:00:25.431 ******** 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, fbbfb8d5-74ef-4b8f-a535-cf6e37f6a4b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fbbfb8d5-74ef-4b8f-a535-cf6e37f6a4b9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:03 -0400 (0:00:00.048) 0:00:25.479 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:03 -0400 (0:00:00.045) 0:00:25.525 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 04 October 2024 10:04:03 -0400 (0:00:00.493) 0:00:26.018 ******** 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, fbbfb8d5-74ef-4b8f-a535-cf6e37f6a4b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fbbfb8d5-74ef-4b8f-a535-cf6e37f6a4b9" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:04:03 -0400 (0:00:00.112) 0:00:26.131 ******** included: /tmp/collections-OBH/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-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:04:03 -0400 (0:00:00.181) 0:00:26.313 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:04:04 -0400 (0:00:00.143) 0:00:26.457 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:04:04 -0400 (0:00:00.402) 0:00:26.859 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 10:04:04 -0400 (0:00:00.057) 0:00:26.917 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:04:04 -0400 (0:00:00.097) 0:00:27.015 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:04:04 -0400 (0:00:00.066) 0:00:27.081 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050642.848689, "block_size": 4096, "blocks": 8, "ctime": 1728050642.848689, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728050642.848689, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:04:05 -0400 (0:00:00.441) 0:00:27.523 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:04:05 -0400 (0:00:00.141) 0:00:27.665 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017411", "end": "2024-10-04 10:04:05.787567", "rc": 0, "start": "2024-10-04 10:04:05.770156" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:04:05 -0400 (0:00:00.504) 0:00:28.170 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:04:05 -0400 (0:00:00.040) 0:00:28.211 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:04:05 -0400 (0:00:00.032) 0:00:28.243 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:04:05 -0400 (0:00:00.033) 0:00:28.277 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:04:05 -0400 (0:00:00.033) 0:00:28.310 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 10:04:06 -0400 (0:00:00.031) 0:00:28.342 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 10:04:06 -0400 (0:00:00.037) 0:00:28.379 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 10:04:06 -0400 (0:00:00.036) 0:00:28.416 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:04:06 -0400 (0:00:00.069) 0:00:28.485 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:04:06 -0400 (0:00:00.050) 0:00:28.536 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:04:06 -0400 (0:00:00.033) 0:00:28.570 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:04:06 -0400 (0:00:00.061) 0:00:28.631 ******** 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.034563", "end": "2024-10-04 10:04:06.623440", "rc": 1, "start": "2024-10-04 10:04:06.588877" } STDOUT: Connection 'statebr' (fbbfb8d5-74ef-4b8f-a535-cf6e37f6a4b9) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 04 October 2024 10:04:06 -0400 (0:00:00.370) 0:00:29.001 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:04:06 -0400 (0:00:00.057) 0:00:29.059 ******** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:04:06 -0400 (0:00:00.036) 0:00:29.095 ******** 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. '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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:04:06 -0400 (0:00:00.065) 0:00:29.161 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:04:06 -0400 (0:00:00.052) 0:00:29.213 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:04:06 -0400 (0:00:00.050) 0:00:29.263 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002654", "end": "2024-10-04 10:04:07.223184", "rc": 0, "start": "2024-10-04 10:04:07.220530" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:04:07 -0400 (0:00:00.353) 0:00:29.616 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:04:07 -0400 (0:00:00.058) 0:00:29.675 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:04:07 -0400 (0:00:00.098) 0:00:29.774 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:04:07 -0400 (0:00:00.072) 0:00:29.846 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:07 -0400 (0:00:00.074) 0:00:29.921 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:07 -0400 (0:00:00.063) 0:00:29.985 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:07 -0400 (0:00:00.059) 0:00:30.044 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:07 -0400 (0:00:00.035) 0:00:30.080 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:07 -0400 (0:00:00.036) 0:00:30.116 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:09 -0400 (0:00:01.615) 0:00:31.732 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:11 -0400 (0:00:01.652) 0:00:33.385 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:11 -0400 (0:00:00.053) 0:00:33.438 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:11 -0400 (0:00:00.112) 0:00:33.551 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:11 -0400 (0:00:00.080) 0:00:33.631 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:11 -0400 (0:00:00.097) 0:00:33.728 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:11 -0400 (0:00:00.119) 0:00:33.848 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:11 -0400 (0:00:00.059) 0:00:33.908 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:11 -0400 (0:00:00.075) 0:00:33.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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:11 -0400 (0:00:00.101) 0:00:34.085 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:11 -0400 (0:00:00.037) 0:00:34.123 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:11 -0400 (0:00:00.053) 0:00:34.177 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:12 -0400 (0:00:00.194) 0:00:34.371 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:12 -0400 (0:00:00.752) 0:00:35.124 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:12 -0400 (0:00:00.109) 0:00:35.233 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:12 -0400 (0:00:00.081) 0:00:35.315 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:13 -0400 (0:00:00.072) 0:00:35.387 ******** 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, 54c1c183-bdef-4bd8-97ae-56764db94ec1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:13 -0400 (0:00:00.837) 0:00:36.225 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:13 -0400 (0:00:00.031) 0:00:36.257 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54c1c183-bdef-4bd8-97ae-56764db94ec1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:13 -0400 (0:00:00.035) 0:00:36.292 ******** 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, 54c1c183-bdef-4bd8-97ae-56764db94ec1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54c1c183-bdef-4bd8-97ae-56764db94ec1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:14 -0400 (0:00:00.073) 0:00:36.366 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:14 -0400 (0:00:00.032) 0:00:36.398 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:04:14 -0400 (0:00:00.349) 0:00:36.748 ******** 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, 54c1c183-bdef-4bd8-97ae-56764db94ec1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54c1c183-bdef-4bd8-97ae-56764db94ec1" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:04:14 -0400 (0:00:00.038) 0:00:36.786 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:04:14 -0400 (0:00:00.058) 0:00:36.845 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:14 -0400 (0:00:00.070) 0:00:36.915 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:14 -0400 (0:00:00.063) 0:00:36.979 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:14 -0400 (0:00:00.059) 0:00:37.038 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:14 -0400 (0:00:00.035) 0:00:37.073 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:14 -0400 (0:00:00.036) 0:00:37.110 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:16 -0400 (0:00:01.517) 0:00:38.628 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:17 -0400 (0:00:01.590) 0:00:40.218 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:17 -0400 (0:00:00.057) 0:00:40.275 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:18 -0400 (0:00:00.067) 0:00:40.343 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:18 -0400 (0:00:00.049) 0:00:40.392 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:18 -0400 (0:00:00.075) 0:00:40.468 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:18 -0400 (0:00:00.125) 0:00:40.594 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:18 -0400 (0:00:00.086) 0:00:40.681 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:18 -0400 (0:00:00.105) 0:00:40.786 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:18 -0400 (0:00:00.115) 0:00:40.902 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:18 -0400 (0:00:00.037) 0:00:40.939 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:18 -0400 (0:00:00.043) 0:00:40.982 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:18 -0400 (0:00:00.065) 0:00:41.048 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:19 -0400 (0:00:00.597) 0:00:41.646 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:19 -0400 (0:00:00.083) 0:00:41.730 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:19 -0400 (0:00:00.043) 0:00:41.773 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:19 -0400 (0:00:00.070) 0:00:41.844 ******** 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, 54c1c183-bdef-4bd8-97ae-56764db94ec1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:20 -0400 (0:00:00.543) 0:00:42.387 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:20 -0400 (0:00:00.069) 0:00:42.457 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54c1c183-bdef-4bd8-97ae-56764db94ec1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:20 -0400 (0:00:00.112) 0:00:42.570 ******** 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, 54c1c183-bdef-4bd8-97ae-56764db94ec1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54c1c183-bdef-4bd8-97ae-56764db94ec1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:20 -0400 (0:00:00.137) 0:00:42.707 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:20 -0400 (0:00:00.052) 0:00:42.760 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:04:20 -0400 (0:00:00.403) 0:00:43.163 ******** included: /tmp/collections-OBH/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-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 10:04:21 -0400 (0:00:00.179) 0:00:43.342 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:04:21 -0400 (0:00:00.089) 0:00:43.432 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050653.7911625, "block_size": 4096, "blocks": 0, "ctime": 1728050653.7911625, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38123, "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": 1728050653.7911625, "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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 10:04:21 -0400 (0:00:00.510) 0:00:43.943 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 10:04:21 -0400 (0:00:00.045) 0:00:43.988 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:04:21 -0400 (0:00:00.094) 0:00:44.082 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:04:21 -0400 (0:00:00.110) 0:00:44.193 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050653.8357332, "block_size": 4096, "blocks": 8, "ctime": 1728050653.789733, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728050653.789733, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:04:22 -0400 (0:00:00.362) 0:00:44.556 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:04:22 -0400 (0:00:00.055) 0:00:44.611 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017807", "end": "2024-10-04 10:04:22.593434", "rc": 0, "start": "2024-10-04 10:04:22.575627" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:04:22 -0400 (0:00:00.363) 0:00:44.974 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:04:22 -0400 (0:00:00.036) 0:00:45.011 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:04:22 -0400 (0:00:00.033) 0:00:45.044 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:04:22 -0400 (0:00:00.034) 0:00:45.079 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:04:22 -0400 (0:00:00.033) 0:00:45.112 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 10:04:22 -0400 (0:00:00.033) 0:00:45.146 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 10:04:22 -0400 (0:00:00.038) 0:00:45.185 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 10:04:22 -0400 (0:00:00.036) 0:00:45.222 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:04:22 -0400 (0:00:00.037) 0:00:45.259 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:04:22 -0400 (0:00:00.054) 0:00:45.313 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:04:23 -0400 (0:00:00.051) 0:00:45.364 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:04:23 -0400 (0:00:00.101) 0:00:45.466 ******** 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.057478", "end": "2024-10-04 10:04:23.564447", "rc": 1, "start": "2024-10-04 10:04:23.506969" } STDOUT: Connection 'statebr' (54c1c183-bdef-4bd8-97ae-56764db94ec1) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 04 October 2024 10:04:23 -0400 (0:00:00.516) 0:00:45.982 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:04:23 -0400 (0:00:00.165) 0:00:46.148 ******** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:04:23 -0400 (0:00:00.055) 0:00:46.204 ******** 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. '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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:04:23 -0400 (0:00:00.111) 0:00:46.315 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:04:24 -0400 (0:00:00.091) 0:00:46.407 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:04:24 -0400 (0:00:00.097) 0:00:46.505 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002788", "end": "2024-10-04 10:04:24.487908", "rc": 0, "start": "2024-10-04 10:04:24.485120" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:04:24 -0400 (0:00:00.361) 0:00:46.867 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:04:24 -0400 (0:00:00.036) 0:00:46.903 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:04:24 -0400 (0:00:00.036) 0:00:46.939 ******** included: /tmp/collections-OBH/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-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:04:24 -0400 (0:00:00.061) 0:00:47.000 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:24 -0400 (0:00:00.098) 0:00:47.099 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:24 -0400 (0:00:00.160) 0:00:47.260 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:25 -0400 (0:00:00.096) 0:00:47.356 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:25 -0400 (0:00:00.072) 0:00:47.428 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:25 -0400 (0:00:00.096) 0:00:47.524 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:26 -0400 (0:00:01.630) 0:00:49.154 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:28 -0400 (0:00:01.547) 0:00:50.701 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:28 -0400 (0:00:00.091) 0:00:50.793 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:28 -0400 (0:00:00.065) 0:00:50.858 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:28 -0400 (0:00:00.059) 0:00:50.918 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:28 -0400 (0:00:00.093) 0:00:51.012 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:28 -0400 (0:00:00.116) 0:00:51.128 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:28 -0400 (0:00:00.085) 0:00:51.214 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:29 -0400 (0:00:00.109) 0:00:51.323 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:29 -0400 (0:00:00.211) 0:00:51.535 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:29 -0400 (0:00:00.054) 0:00:51.589 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:29 -0400 (0:00:00.053) 0:00:51.643 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:29 -0400 (0:00:00.094) 0:00:51.737 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:30 -0400 (0:00:00.601) 0:00:52.339 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:30 -0400 (0:00:00.075) 0:00:52.414 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:30 -0400 (0:00:00.053) 0:00:52.468 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:30 -0400 (0:00:00.054) 0:00:52.522 ******** 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, 18b5e250-c94d-40ee-a8a3-44d5238e3263 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:30 -0400 (0:00:00.698) 0:00:53.221 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:31 -0400 (0:00:00.106) 0:00:53.327 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18b5e250-c94d-40ee-a8a3-44d5238e3263" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:31 -0400 (0:00:00.083) 0:00:53.411 ******** 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, 18b5e250-c94d-40ee-a8a3-44d5238e3263\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18b5e250-c94d-40ee-a8a3-44d5238e3263" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:31 -0400 (0:00:00.073) 0:00:53.485 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:31 -0400 (0:00:00.082) 0:00:53.567 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:04:31 -0400 (0:00:00.415) 0:00:53.983 ******** 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, 18b5e250-c94d-40ee-a8a3-44d5238e3263\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18b5e250-c94d-40ee-a8a3-44d5238e3263" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:04:31 -0400 (0:00:00.040) 0:00:54.023 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:31 -0400 (0:00:00.181) 0:00:54.204 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:31 -0400 (0:00:00.112) 0:00:54.317 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:32 -0400 (0:00:00.095) 0:00:54.413 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:32 -0400 (0:00:00.057) 0:00:54.471 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:32 -0400 (0:00:00.058) 0:00:54.529 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:33 -0400 (0:00:01.544) 0:00:56.074 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:35 -0400 (0:00:01.526) 0:00:57.601 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:35 -0400 (0:00:00.049) 0:00:57.650 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:35 -0400 (0:00:00.043) 0:00:57.693 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:35 -0400 (0:00:00.044) 0:00:57.738 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:35 -0400 (0:00:00.055) 0:00:57.793 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:35 -0400 (0:00:00.066) 0:00:57.860 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:35 -0400 (0:00:00.091) 0:00:57.951 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:35 -0400 (0:00:00.061) 0:00:58.013 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:35 -0400 (0:00:00.089) 0:00:58.103 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:35 -0400 (0:00:00.033) 0:00:58.136 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:35 -0400 (0:00:00.032) 0:00:58.169 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:35 -0400 (0:00:00.065) 0:00:58.234 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:36 -0400 (0:00:00.542) 0:00:58.776 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:36 -0400 (0:00:00.062) 0:00:58.839 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:36 -0400 (0:00:00.032) 0:00:58.872 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:36 -0400 (0:00:00.032) 0:00:58.905 ******** 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, 18b5e250-c94d-40ee-a8a3-44d5238e3263 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:37 -0400 (0:00:00.563) 0:00:59.468 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:37 -0400 (0:00:00.053) 0:00:59.521 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18b5e250-c94d-40ee-a8a3-44d5238e3263 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:37 -0400 (0:00:00.058) 0:00:59.579 ******** 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, 18b5e250-c94d-40ee-a8a3-44d5238e3263 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18b5e250-c94d-40ee-a8a3-44d5238e3263 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:37 -0400 (0:00:00.058) 0:00:59.637 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:37 -0400 (0:00:00.054) 0:00:59.692 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:04:37 -0400 (0:00:00.424) 0:01:00.116 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 04 October 2024 10:04:37 -0400 (0:00:00.118) 0:01:00.235 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:37 -0400 (0:00:00.080) 0:01:00.316 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:38 -0400 (0:00:00.076) 0:01:00.393 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:38 -0400 (0:00:00.058) 0:01:00.451 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:38 -0400 (0:00:00.037) 0:01:00.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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:38 -0400 (0:00:00.038) 0:01:00.526 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:39 -0400 (0:00:01.552) 0:01:02.079 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:41 -0400 (0:00:01.516) 0:01:03.595 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:41 -0400 (0:00:00.058) 0:01:03.654 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:41 -0400 (0:00:00.055) 0:01:03.709 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:41 -0400 (0:00:00.108) 0:01:03.818 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:41 -0400 (0:00:00.082) 0:01:03.901 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:41 -0400 (0:00:00.103) 0:01:04.004 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:41 -0400 (0:00:00.069) 0:01:04.074 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:41 -0400 (0:00:00.118) 0:01:04.192 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:42 -0400 (0:00:00.154) 0:01:04.346 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:42 -0400 (0:00:00.060) 0:01:04.407 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:42 -0400 (0:00:00.056) 0:01:04.463 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:42 -0400 (0:00:00.111) 0:01:04.575 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:42 -0400 (0:00:00.588) 0:01:05.164 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:42 -0400 (0:00:00.092) 0:01:05.256 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:42 -0400 (0:00:00.051) 0:01:05.308 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:43 -0400 (0:00:00.054) 0:01:05.362 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:43 -0400 (0:00:00.591) 0:01:05.954 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:43 -0400 (0:00:00.054) 0:01:06.008 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:43 -0400 (0:00:00.060) 0:01:06.069 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:43 -0400 (0:00:00.098) 0:01:06.167 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:44 -0400 (0:00:00.152) 0:01:06.320 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:04:44 -0400 (0:00:00.604) 0:01:06.925 ******** included: /tmp/collections-OBH/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-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 10:04:44 -0400 (0:00:00.110) 0:01:07.035 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:04:44 -0400 (0:00:00.087) 0:01:07.123 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050670.704025, "block_size": 4096, "blocks": 0, "ctime": 1728050670.704025, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38254, "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": 1728050670.704025, "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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 10:04:45 -0400 (0:00:00.553) 0:01:07.676 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:04:45 -0400 (0:00:00.062) 0:01:07.739 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:04:45 -0400 (0:00:00.091) 0:01:07.830 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:04:45 -0400 (0:00:00.038) 0:01:07.869 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:04:45 -0400 (0:00:00.360) 0:01:08.229 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:04:45 -0400 (0:00:00.056) 0:01:08.286 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017715", "end": "2024-10-04 10:04:46.297726", "rc": 1, "start": "2024-10-04 10:04:46.280011" } 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:04:46 -0400 (0:00:00.411) 0:01:08.697 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:04:46 -0400 (0:00:00.070) 0:01:08.768 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:04:46 -0400 (0:00:00.108) 0:01:08.876 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:04:46 -0400 (0:00:00.054) 0:01:08.931 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:04:46 -0400 (0:00:00.051) 0:01:08.983 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:04:46 -0400 (0:00:00.055) 0:01:09.038 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:04:46 -0400 (0:00:00.067) 0:01:09.105 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:04:46 -0400 (0:00:00.096) 0:01:09.201 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:04:46 -0400 (0:00:00.117) 0:01:09.319 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:04:47 -0400 (0:00:00.119) 0:01:09.438 ******** 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.066797", "end": "2024-10-04 10:04:47.714964", "rc": 1, "start": "2024-10-04 10:04:47.648167" } STDOUT: Connection 'statebr' (18b5e250-c94d-40ee-a8a3-44d5238e3263) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 04 October 2024 10:04:47 -0400 (0:00:00.664) 0:01:10.102 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:04:47 -0400 (0:00:00.128) 0:01:10.231 ******** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:04:48 -0400 (0:00:00.097) 0:01:10.328 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:04:48 -0400 (0:00:00.111) 0:01:10.439 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:04:48 -0400 (0:00:00.156) 0:01:10.596 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:04:48 -0400 (0:00:00.264) 0:01:10.860 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002792", "end": "2024-10-04 10:04:48.882218", "rc": 0, "start": "2024-10-04 10:04:48.879426" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:04:48 -0400 (0:00:00.405) 0:01:11.265 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:04:48 -0400 (0:00:00.051) 0:01:11.317 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:04:49 -0400 (0:00:00.057) 0:01:11.375 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:04:49 -0400 (0:00:00.077) 0:01:11.452 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:49 -0400 (0:00:00.080) 0:01:11.533 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:49 -0400 (0:00:00.065) 0:01:11.598 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:49 -0400 (0:00:00.058) 0:01:11.657 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:49 -0400 (0:00:00.040) 0:01:11.697 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:49 -0400 (0:00:00.050) 0:01:11.748 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:50 -0400 (0:00:01.572) 0:01:13.320 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:52 -0400 (0:00:01.665) 0:01:14.986 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:52 -0400 (0:00:00.068) 0:01:15.054 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:52 -0400 (0:00:00.055) 0:01:15.109 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:52 -0400 (0:00:00.065) 0:01:15.175 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:52 -0400 (0:00:00.087) 0:01:15.262 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:53 -0400 (0:00:00.099) 0:01:15.361 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:53 -0400 (0:00:00.094) 0:01:15.456 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:53 -0400 (0:00:00.074) 0:01:15.531 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:53 -0400 (0:00:00.093) 0:01:15.624 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:53 -0400 (0:00:00.033) 0:01:15.657 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:53 -0400 (0:00:00.031) 0:01:15.689 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:53 -0400 (0:00:00.086) 0:01:15.776 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:54 -0400 (0:00:00.694) 0:01:16.470 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:54 -0400 (0:00:00.073) 0:01:16.544 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:54 -0400 (0:00:00.044) 0:01:16.588 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:54 -0400 (0:00:00.092) 0:01:16.680 ******** 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, 40a03f13-7efc-44c1-a8c9-3d784f211083 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:54 -0400 (0:00:00.591) 0:01:17.271 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:55 -0400 (0:00:00.066) 0:01:17.337 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 40a03f13-7efc-44c1-a8c9-3d784f211083" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:55 -0400 (0:00:00.077) 0:01:17.415 ******** 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, 40a03f13-7efc-44c1-a8c9-3d784f211083\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 40a03f13-7efc-44c1-a8c9-3d784f211083" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:55 -0400 (0:00:00.044) 0:01:17.460 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:55 -0400 (0:00:00.038) 0:01:17.498 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:04:55 -0400 (0:00:00.393) 0:01:17.891 ******** 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, 40a03f13-7efc-44c1-a8c9-3d784f211083\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 40a03f13-7efc-44c1-a8c9-3d784f211083" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:04:55 -0400 (0:00:00.059) 0:01:17.951 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:55 -0400 (0:00:00.123) 0:01:18.074 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:55 -0400 (0:00:00.222) 0:01:18.297 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:56 -0400 (0:00:00.101) 0:01:18.399 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:56 -0400 (0:00:00.083) 0:01:18.482 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:56 -0400 (0:00:00.071) 0:01:18.554 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:57 -0400 (0:00:01.647) 0:01:20.202 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:59 -0400 (0:00:01.470) 0:01:21.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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:59 -0400 (0:00:00.052) 0:01:21.724 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:59 -0400 (0:00:00.058) 0:01:21.783 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:59 -0400 (0:00:00.052) 0:01:21.836 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:59 -0400 (0:00:00.086) 0:01:21.922 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:59 -0400 (0:00:00.102) 0:01:22.025 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:59 -0400 (0:00:00.082) 0:01:22.108 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:59 -0400 (0:00:00.104) 0:01:22.212 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:00 -0400 (0:00:00.141) 0:01:22.353 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:00 -0400 (0:00:00.052) 0:01:22.406 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:00 -0400 (0:00:00.080) 0:01:22.486 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:00 -0400 (0:00:00.114) 0:01:22.601 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:01 -0400 (0:00:00.795) 0:01:23.396 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:01 -0400 (0:00:00.165) 0:01:23.562 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:01 -0400 (0:00:00.032) 0:01:23.595 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:01 -0400 (0:00:00.032) 0:01:23.627 ******** 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, 40a03f13-7efc-44c1-a8c9-3d784f211083 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:01 -0400 (0:00:00.554) 0:01:24.181 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:01 -0400 (0:00:00.057) 0:01:24.239 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 40a03f13-7efc-44c1-a8c9-3d784f211083 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:01 -0400 (0:00:00.065) 0:01:24.304 ******** 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, 40a03f13-7efc-44c1-a8c9-3d784f211083 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 40a03f13-7efc-44c1-a8c9-3d784f211083 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:02 -0400 (0:00:00.053) 0:01:24.357 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:02 -0400 (0:00:00.050) 0:01:24.407 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 04 October 2024 10:05:02 -0400 (0:00:00.492) 0:01:24.900 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:02 -0400 (0:00:00.208) 0:01:25.108 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:02 -0400 (0:00:00.144) 0:01:25.253 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:03 -0400 (0:00:00.081) 0:01:25.335 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:03 -0400 (0:00:00.044) 0:01:25.380 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:03 -0400 (0:00:00.088) 0:01:25.468 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:04 -0400 (0:00:01.593) 0:01:27.062 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:06 -0400 (0:00:01.588) 0:01:28.650 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:06 -0400 (0:00:00.038) 0:01:28.689 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:06 -0400 (0:00:00.031) 0:01:28.720 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:06 -0400 (0:00:00.031) 0:01:28.752 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:06 -0400 (0:00:00.056) 0:01:28.809 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:06 -0400 (0:00:00.093) 0:01:28.903 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:06 -0400 (0:00:00.123) 0:01:29.026 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:06 -0400 (0:00:00.110) 0:01:29.137 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:06 -0400 (0:00:00.141) 0:01:29.278 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:07 -0400 (0:00:00.056) 0:01:29.334 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:07 -0400 (0:00:00.053) 0:01:29.388 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:07 -0400 (0:00:00.097) 0:01:29.485 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:07 -0400 (0:00:00.726) 0:01:30.211 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:07 -0400 (0:00:00.065) 0:01:30.276 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:07 -0400 (0:00:00.032) 0:01:30.309 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:08 -0400 (0:00:00.033) 0:01:30.342 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:08 -0400 (0:00:00.556) 0:01:30.898 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:08 -0400 (0:00:00.037) 0:01:30.936 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:08 -0400 (0:00:00.043) 0:01:30.979 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:08 -0400 (0:00:00.045) 0:01:31.025 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:08 -0400 (0:00:00.035) 0:01:31.061 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:05:09 -0400 (0:00:00.372) 0:01:31.433 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:05:09 -0400 (0:00:00.083) 0:01:31.517 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:09 -0400 (0:00:00.091) 0:01:31.608 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:09 -0400 (0:00:00.120) 0:01:31.728 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:09 -0400 (0:00:00.060) 0:01:31.789 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:09 -0400 (0:00:00.039) 0:01:31.829 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:09 -0400 (0:00:00.038) 0:01:31.868 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:11 -0400 (0:00:01.551) 0:01:33.419 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:12 -0400 (0:00:01.511) 0:01:34.930 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:12 -0400 (0:00:00.054) 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 : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:12 -0400 (0:00:00.035) 0:01:35.021 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:12 -0400 (0:00:00.035) 0:01:35.057 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:12 -0400 (0:00:00.064) 0:01:35.122 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:12 -0400 (0:00:00.063) 0:01:35.185 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:12 -0400 (0:00:00.053) 0:01:35.239 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:12 -0400 (0:00:00.064) 0:01:35.303 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:13 -0400 (0:00:00.181) 0:01:35.485 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:13 -0400 (0:00:00.054) 0:01:35.539 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:13 -0400 (0:00:00.056) 0:01:35.595 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:13 -0400 (0:00:00.095) 0:01:35.691 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:13 -0400 (0:00:00.607) 0:01:36.299 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:14 -0400 (0:00:00.107) 0:01:36.407 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:14 -0400 (0:00:00.059) 0:01:36.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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:14 -0400 (0:00:00.091) 0:01:36.558 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:15 -0400 (0:00:00.775) 0:01:37.333 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:15 -0400 (0:00:00.033) 0:01:37.367 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:15 -0400 (0:00:00.036) 0:01:37.404 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:15 -0400 (0:00:00.038) 0:01:37.442 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:15 -0400 (0:00:00.033) 0:01:37.476 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:05:15 -0400 (0:00:00.350) 0:01:37.827 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:05:15 -0400 (0:00:00.069) 0:01:37.896 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:05:15 -0400 (0:00:00.106) 0:01:38.002 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:05:15 -0400 (0:00:00.035) 0:01:38.037 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:05:16 -0400 (0:00:00.332) 0:01:38.369 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:05:16 -0400 (0:00:00.032) 0:01:38.402 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016689", "end": "2024-10-04 10:05:16.382603", "rc": 1, "start": "2024-10-04 10:05:16.365914" } 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:05:16 -0400 (0:00:00.365) 0:01:38.768 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:05:16 -0400 (0:00:00.034) 0:01:38.802 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:05:16 -0400 (0:00:00.033) 0:01:38.836 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:05:16 -0400 (0:00:00.032) 0:01:38.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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:05:16 -0400 (0:00:00.034) 0:01:38.903 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:05:16 -0400 (0:00:00.046) 0:01:38.950 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:05:16 -0400 (0:00:00.035) 0:01:38.985 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:05:16 -0400 (0:00:00.088) 0:01:39.074 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:05:16 -0400 (0:00:00.053) 0:01:39.128 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:05:17 -0400 (0:00:00.331) 0:01:39.459 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:05:17 -0400 (0:00:00.076) 0:01:39.535 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:05:17 -0400 (0:00:00.035) 0:01:39.571 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:05:17 -0400 (0:00:00.060) 0:01:39.632 ******** 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.034001", "end": "2024-10-04 10:05:17.617836", "rc": 1, "start": "2024-10-04 10:05:17.583835" } 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 04 October 2024 10:05:17 -0400 (0:00:00.393) 0:01:40.026 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:05:17 -0400 (0:00:00.095) 0:01:40.121 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:05:17 -0400 (0:00:00.060) 0:01:40.182 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:05:18 -0400 (0:00:00.150) 0:01:40.332 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:05:18 -0400 (0:00:00.116) 0:01:40.449 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:05:18 -0400 (0:00:00.109) 0:01:40.558 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002725", "end": "2024-10-04 10:05:18.739044", "rc": 0, "start": "2024-10-04 10:05:18.736319" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:05:18 -0400 (0:00:00.621) 0:01:41.180 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:05:18 -0400 (0:00:00.075) 0:01:41.256 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:05:18 -0400 (0:00:00.056) 0:01:41.312 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:05:19 -0400 (0:00:00.178) 0:01:41.491 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:19 -0400 (0:00:00.099) 0:01:41.590 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:19 -0400 (0:00:00.084) 0:01:41.674 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:19 -0400 (0:00:00.060) 0:01:41.735 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:19 -0400 (0:00:00.036) 0:01:41.772 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:19 -0400 (0:00:00.041) 0:01:41.814 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:21 -0400 (0:00:01.537) 0:01:43.351 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:22 -0400 (0:00:01.535) 0:01:44.886 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:22 -0400 (0:00:00.058) 0:01:44.945 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:22 -0400 (0:00:00.049) 0:01:44.995 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:22 -0400 (0:00:00.091) 0:01:45.087 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:22 -0400 (0:00:00.056) 0:01:45.143 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:22 -0400 (0:00:00.080) 0:01:45.224 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:22 -0400 (0:00:00.053) 0:01:45.277 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:23 -0400 (0:00:00.071) 0:01:45.349 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:23 -0400 (0:00:00.137) 0:01:45.487 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:23 -0400 (0:00:00.056) 0:01:45.544 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:23 -0400 (0:00:00.052) 0:01:45.596 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:23 -0400 (0:00:00.098) 0:01:45.695 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:24 -0400 (0:00:00.629) 0:01:46.325 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:24 -0400 (0:00:00.099) 0:01:46.424 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:24 -0400 (0:00:00.052) 0:01:46.477 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:24 -0400 (0:00:00.054) 0:01:46.531 ******** 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, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:24 -0400 (0:00:00.591) 0:01:47.123 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:24 -0400 (0:00:00.039) 0:01:47.162 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:24 -0400 (0:00:00.044) 0:01:47.207 ******** 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, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:24 -0400 (0:00:00.048) 0:01:47.256 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:25 -0400 (0:00:00.080) 0:01:47.336 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:05:25 -0400 (0:00:00.394) 0:01:47.731 ******** 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, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:05:25 -0400 (0:00:00.062) 0:01:47.793 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:25 -0400 (0:00:00.118) 0:01:47.911 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:25 -0400 (0:00:00.137) 0:01:48.049 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:25 -0400 (0:00:00.110) 0:01:48.159 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:25 -0400 (0:00:00.069) 0:01:48.228 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:25 -0400 (0:00:00.060) 0:01:48.289 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:27 -0400 (0:00:01.642) 0:01:49.931 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:29 -0400 (0:00:01.681) 0:01:51.613 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:29 -0400 (0:00:00.163) 0:01:51.777 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:29 -0400 (0:00:00.055) 0:01:51.832 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:29 -0400 (0:00:00.066) 0:01:51.899 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:29 -0400 (0:00:00.095) 0:01:51.994 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:29 -0400 (0:00:00.079) 0:01:52.074 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:29 -0400 (0:00:00.060) 0:01:52.135 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:29 -0400 (0:00:00.068) 0:01:52.203 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:29 -0400 (0:00:00.090) 0:01:52.294 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:30 -0400 (0:00:00.035) 0:01:52.330 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:30 -0400 (0:00:00.034) 0:01:52.364 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:30 -0400 (0:00:00.072) 0:01:52.436 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:30 -0400 (0:00:00.559) 0:01:52.996 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:30 -0400 (0:00:00.085) 0:01:53.082 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:30 -0400 (0:00:00.037) 0:01:53.119 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:30 -0400 (0:00:00.046) 0:01:53.166 ******** 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, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:31 -0400 (0:00:00.615) 0:01:53.782 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:31 -0400 (0:00:00.062) 0:01:53.844 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:31 -0400 (0:00:00.097) 0:01:53.942 ******** 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, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ee3ae451-ba1d-4a1d-8797-84e1a0f9a8d4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:31 -0400 (0:00:00.039) 0:01:53.982 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:31 -0400 (0:00:00.031) 0:01:54.013 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:05:32 -0400 (0:00:00.358) 0:01:54.372 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:32 -0400 (0:00:00.072) 0:01:54.444 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:32 -0400 (0:00:00.079) 0:01:54.524 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:32 -0400 (0:00:00.059) 0:01:54.583 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:32 -0400 (0:00:00.038) 0:01:54.622 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:32 -0400 (0:00:00.037) 0:01:54.660 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:33 -0400 (0:00:01.517) 0:01:56.177 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:35 -0400 (0:00:01.574) 0:01:57.752 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:35 -0400 (0:00:00.061) 0:01:57.813 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:35 -0400 (0:00:00.051) 0:01:57.864 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:35 -0400 (0:00:00.046) 0:01:57.911 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:35 -0400 (0:00:00.061) 0:01:57.972 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:35 -0400 (0:00:00.070) 0:01:58.043 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:35 -0400 (0:00:00.057) 0:01:58.101 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:35 -0400 (0:00:00.063) 0:01:58.164 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:35 -0400 (0:00:00.123) 0:01:58.288 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:36 -0400 (0:00:00.054) 0:01:58.342 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:36 -0400 (0:00:00.055) 0:01:58.397 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:36 -0400 (0:00:00.093) 0:01:58.491 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:36 -0400 (0:00:00.626) 0:01:59.118 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:36 -0400 (0:00:00.100) 0:01:59.218 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:36 -0400 (0:00:00.041) 0:01:59.259 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:36 -0400 (0:00:00.043) 0:01:59.302 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:37 -0400 (0:00:00.710) 0:02:00.013 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:37 -0400 (0:00:00.048) 0:02:00.061 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:37 -0400 (0:00:00.041) 0:02:00.103 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:37 -0400 (0:00:00.046) 0:02:00.149 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:37 -0400 (0:00:00.036) 0:02:00.185 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:05:38 -0400 (0:00:00.347) 0:02:00.533 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:05:38 -0400 (0:00:00.057) 0:02:00.590 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:38 -0400 (0:00:00.072) 0:02:00.663 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:38 -0400 (0:00:00.076) 0:02:00.739 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:38 -0400 (0:00:00.060) 0:02:00.800 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:38 -0400 (0:00:00.037) 0:02:00.837 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:38 -0400 (0:00:00.038) 0:02:00.876 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:40 -0400 (0:00:01.568) 0:02:02.445 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:41 -0400 (0:00:01.469) 0:02:03.914 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:41 -0400 (0:00:00.061) 0:02:03.976 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:41 -0400 (0:00:00.056) 0:02:04.032 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:41 -0400 (0:00:00.054) 0:02:04.087 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:41 -0400 (0:00:00.091) 0:02:04.179 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:41 -0400 (0:00:00.100) 0:02:04.279 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:42 -0400 (0:00:00.088) 0:02:04.368 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:42 -0400 (0:00:00.111) 0:02:04.479 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:42 -0400 (0:00:00.133) 0:02:04.612 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:42 -0400 (0:00:00.063) 0:02:04.676 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:42 -0400 (0:00:00.061) 0:02:04.738 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:42 -0400 (0:00:00.100) 0:02:04.839 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:43 -0400 (0:00:00.613) 0:02:05.452 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:43 -0400 (0:00:00.165) 0:02:05.617 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:43 -0400 (0:00:00.032) 0:02:05.650 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:43 -0400 (0:00:00.038) 0:02:05.688 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:43 -0400 (0:00:00.552) 0:02:06.241 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:43 -0400 (0:00:00.037) 0:02:06.278 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:44 -0400 (0:00:00.054) 0:02:06.333 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:44 -0400 (0:00:00.043) 0:02:06.377 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:44 -0400 (0:00:00.054) 0:02:06.432 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:05:44 -0400 (0:00:00.387) 0:02:06.819 ******** included: /tmp/collections-OBH/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-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:05:44 -0400 (0:00:00.118) 0:02:06.938 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:05:44 -0400 (0:00:00.073) 0:02:07.011 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:05:44 -0400 (0:00:00.058) 0:02:07.069 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:05:45 -0400 (0:00:00.373) 0:02:07.442 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:05:45 -0400 (0:00:00.094) 0:02:07.537 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016482", "end": "2024-10-04 10:05:45.508370", "rc": 1, "start": "2024-10-04 10:05:45.491888" } 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:05:45 -0400 (0:00:00.350) 0:02:07.887 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:05:45 -0400 (0:00:00.047) 0:02:07.935 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:05:45 -0400 (0:00:00.034) 0:02:07.970 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:05:45 -0400 (0:00:00.037) 0:02:08.007 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:05:45 -0400 (0:00:00.055) 0:02:08.063 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:05:45 -0400 (0:00:00.056) 0:02:08.119 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 04 October 2024 10:05:45 -0400 (0:00:00.046) 0:02:08.166 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.836833", "end": "2024-10-04 10:05:46.966636", "rc": 0, "start": "2024-10-04 10:05:46.129803" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 04 October 2024 10:05:47 -0400 (0:00:01.202) 0:02:09.368 ******** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 04 October 2024 10:05:47 -0400 (0:00:00.060) 0:02:09.429 ******** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:05:47 -0400 (0:00:00.060) 0:02:09.489 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:05:47 -0400 (0:00:00.145) 0:02:09.634 ******** included: /tmp/collections-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:05:47 -0400 (0:00:00.087) 0:02:09.722 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:05:47 -0400 (0:00:00.361) 0:02:10.084 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:05:47 -0400 (0:00:00.050) 0:02:10.135 ******** 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:05:47 -0400 (0:00:00.128) 0:02:10.264 ******** included: /tmp/collections-OBH/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-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:05:48 -0400 (0:00:00.090) 0:02:10.354 ******** 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.033631", "end": "2024-10-04 10:05:48.370629", "rc": 1, "start": "2024-10-04 10:05:48.336998" } 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 04 October 2024 10:05:48 -0400 (0:00:00.396) 0:02:10.751 ******** 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.007501", "end": "2024-10-04 10:05:48.712844", "rc": 0, "start": "2024-10-04 10:05:48.705343" } 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 02:98:7f:03:4f:4f brd ff:ff:ff:ff:ff:ff inet 10.31.47.128/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2268sec preferred_lft 2268sec inet6 fe80::98:7fff:fe03:4f4f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.128 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.128 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-OBH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 04 October 2024 10:05:48 -0400 (0:00:00.342) 0:02:11.093 ******** 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.358229", "end": "2024-10-04 10:05:49.407558", "rc": 0, "start": "2024-10-04 10:05:49.049329" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2620:52:3:1:dead:beef:cafe:fed7 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 1373 0 --:--:-- --:--:-- --:--:-- 1373 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2552 0 --:--:-- --:--:-- --:--:-- 2552 PLAY RECAP ********************************************************************* managed-node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Friday 04 October 2024 10:05:49 -0400 (0:00:00.751) 0:02:11.844 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.95s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-OBH/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-OBH/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-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-OBH/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-OBH/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-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-OBH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21