ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 21 October 2024 07:21:19 -0400 (0:00:00.028) 0:00:00.028 ******** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 21 October 2024 07:21:20 -0400 (0:00:01.207) 0:00:01.236 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 21 October 2024 07:21:20 -0400 (0:00:00.096) 0:00:01.332 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 21 October 2024 07:21:21 -0400 (0:00:00.633) 0:00:01.966 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 21 October 2024 07:21:21 -0400 (0:00:00.518) 0:00:02.484 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 21 October 2024 07:21:21 -0400 (0:00:00.048) 0:00:02.532 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 21 October 2024 07:21:21 -0400 (0:00:00.039) 0:00:02.572 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 21 October 2024 07:21:21 -0400 (0:00:00.073) 0:00:02.646 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 21 October 2024 07:21:22 -0400 (0:00:00.467) 0:00:03.113 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 21 October 2024 07:21:22 -0400 (0:00:00.058) 0:00:03.172 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 21 October 2024 07:21:22 -0400 (0:00:00.021) 0:00:03.193 ******** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.224122", "end": "2024-10-21 07:21:22.879712", "rc": 0, "start": "2024-10-21 07:21:22.655590" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 21 October 2024 07:21:22 -0400 (0:00:00.560) 0:00:03.754 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 21 October 2024 07:21:22 -0400 (0:00:00.016) 0:00:03.771 ******** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 21 October 2024 07:21:22 -0400 (0:00:00.018) 0:00:03.790 ******** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 21 October 2024 07:21:23 -0400 (0:00:00.606) 0:00:04.396 ******** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 21 October 2024 07:21:23 -0400 (0:00:00.019) 0:00:04.415 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:21:23 -0400 (0:00:00.034) 0:00:04.449 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:21:23 -0400 (0:00:00.022) 0:00:04.472 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:21:23 -0400 (0:00:00.066) 0:00:04.539 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:21:23 -0400 (0:00:00.024) 0:00:04.563 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:21:23 -0400 (0:00:00.023) 0:00:04.586 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002867", "end": "2024-10-21 07:21:24.064527", "rc": 0, "start": "2024-10-21 07:21:24.061660" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:21:24 -0400 (0:00:00.366) 0:00:04.953 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:21:24 -0400 (0:00:00.028) 0:00:04.982 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:21:24 -0400 (0:00:00.028) 0:00:05.010 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 21 October 2024 07:21:24 -0400 (0:00:00.051) 0:00:05.062 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007055", "end": "2024-10-21 07:21:24.623556", "rc": 1, "start": "2024-10-21 07:21:24.616501" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:21:24 -0400 (0:00:00.488) 0:00:05.551 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:21:24 -0400 (0:00:00.061) 0:00:05.612 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:21:25 -0400 (0:00:00.581) 0:00:06.194 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:21:25 -0400 (0:00:00.022) 0:00:06.216 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:21:25 -0400 (0:00:00.047) 0:00:06.264 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:25 -0400 (0:00:00.124) 0:00:06.389 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:25 -0400 (0:00:00.060) 0:00:06.449 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:25 -0400 (0:00:00.032) 0:00:06.482 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:25 -0400 (0:00:00.027) 0:00:06.509 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:25 -0400 (0:00:00.026) 0:00:06.536 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:27 -0400 (0:00:01.738) 0:00:08.275 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:21:29 -0400 (0:00:02.086) 0:00:10.361 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:21:29 -0400 (0:00:00.044) 0:00:10.405 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:21:29 -0400 (0:00:00.036) 0:00:10.442 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:21:29 -0400 (0:00:00.036) 0:00:10.478 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:21:29 -0400 (0:00:00.035) 0:00:10.513 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:21:29 -0400 (0:00:00.048) 0:00:10.562 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:21:29 -0400 (0:00:00.045) 0:00:10.607 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:21:29 -0400 (0:00:00.061) 0:00:10.669 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:21:29 -0400 (0:00:00.130) 0:00:10.800 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:21:30 -0400 (0:00:00.076) 0:00:10.876 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:21:30 -0400 (0:00:00.084) 0:00:10.960 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:21:30 -0400 (0:00:00.062) 0:00:11.023 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:21:31 -0400 (0:00:00.877) 0:00:11.900 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:21:31 -0400 (0:00:00.089) 0:00:11.989 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:21:31 -0400 (0:00:00.037) 0:00:12.026 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:21:31 -0400 (0:00:00.041) 0:00:12.068 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 042f788a-8cc3-4fd2-9c60-76afc8501b5c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:21:32 -0400 (0:00:00.941) 0:00:13.009 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:21:32 -0400 (0:00:00.090) 0:00:13.100 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 042f788a-8cc3-4fd2-9c60-76afc8501b5c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:21:32 -0400 (0:00:00.075) 0:00:13.176 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 042f788a-8cc3-4fd2-9c60-76afc8501b5c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 042f788a-8cc3-4fd2-9c60-76afc8501b5c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:21:32 -0400 (0:00:00.076) 0:00:13.252 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:21:32 -0400 (0:00:00.064) 0:00:13.317 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:21:33 -0400 (0:00:00.598) 0:00:13.915 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 042f788a-8cc3-4fd2-9c60-76afc8501b5c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 042f788a-8cc3-4fd2-9c60-76afc8501b5c" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:21:33 -0400 (0:00:00.039) 0:00:13.955 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 07:21:33 -0400 (0:00:00.068) 0:00:14.023 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:21:33 -0400 (0:00:00.124) 0:00:14.148 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:21:33 -0400 (0:00:00.058) 0:00:14.206 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729509692.0309956, "block_size": 4096, "blocks": 8, "ctime": 1729509691.9769955, "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": 1729509691.9769955, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:21:33 -0400 (0:00:00.374) 0:00:14.580 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:21:33 -0400 (0:00:00.059) 0:00:14.639 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018509", "end": "2024-10-21 07:21:34.156402", "rc": 0, "start": "2024-10-21 07:21:34.137893" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:21:34 -0400 (0:00:00.427) 0:00:15.067 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:21:34 -0400 (0:00:00.061) 0:00:15.128 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:21:34 -0400 (0:00:00.054) 0:00:15.182 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:21:34 -0400 (0:00:00.063) 0:00:15.246 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:21:34 -0400 (0:00:00.062) 0:00:15.309 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 07:21:34 -0400 (0:00:00.074) 0:00:15.383 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 07:21:34 -0400 (0:00:00.129) 0:00:15.513 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 07:21:34 -0400 (0:00:00.061) 0:00:15.574 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:21:34 -0400 (0:00:00.051) 0:00:15.626 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 07:21:34 -0400 (0:00:00.121) 0:00:15.747 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:21:35 -0400 (0:00:00.109) 0:00:15.857 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729509691.9792256, "block_size": 4096, "blocks": 0, "ctime": 1729509691.9792256, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37210, "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": 1729509691.9792256, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 07:21:35 -0400 (0:00:00.401) 0:00:16.258 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:21:35 -0400 (0:00:00.065) 0:00:16.324 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:21:35 -0400 (0:00:00.058) 0:00:16.383 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:21:35 -0400 (0:00:00.087) 0:00:16.470 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.056718", "end": "2024-10-21 07:21:35.993967", "rc": 1, "start": "2024-10-21 07:21:35.937249" } STDOUT: Connection 'statebr' (042f788a-8cc3-4fd2-9c60-76afc8501b5c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 21 October 2024 07:21:36 -0400 (0:00:00.496) 0:00:16.967 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:21:36 -0400 (0:00:00.100) 0:00:17.067 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:21:36 -0400 (0:00:00.067) 0:00:17.135 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:21:36 -0400 (0:00:00.140) 0:00:17.275 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:21:36 -0400 (0:00:00.124) 0:00:17.400 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:21:36 -0400 (0:00:00.151) 0:00:17.552 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003220", "end": "2024-10-21 07:21:37.129959", "rc": 0, "start": "2024-10-21 07:21:37.126739" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:21:37 -0400 (0:00:00.490) 0:00:18.042 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:21:37 -0400 (0:00:00.057) 0:00:18.100 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:21:37 -0400 (0:00:00.089) 0:00:18.190 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 21 October 2024 07:21:37 -0400 (0:00:00.192) 0:00:18.382 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005500", "end": "2024-10-21 07:21:37.933789", "rc": 1, "start": "2024-10-21 07:21:37.928289" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:21:38 -0400 (0:00:00.439) 0:00:18.821 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:21:38 -0400 (0:00:00.059) 0:00:18.881 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:21:38 -0400 (0:00:00.387) 0:00:19.269 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:21:38 -0400 (0:00:00.040) 0:00:19.310 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 21 October 2024 07:21:38 -0400 (0:00:00.157) 0:00:19.467 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:38 -0400 (0:00:00.105) 0:00:19.573 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:38 -0400 (0:00:00.119) 0:00:19.692 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:38 -0400 (0:00:00.077) 0:00:19.770 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:39 -0400 (0:00:00.066) 0:00:19.837 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:39 -0400 (0:00:00.057) 0:00:19.895 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:40 -0400 (0:00:01.614) 0:00:21.510 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:21:42 -0400 (0:00:01.708) 0:00:23.218 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:21:42 -0400 (0:00:00.057) 0:00:23.276 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:21:42 -0400 (0:00:00.061) 0:00:23.338 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:21:42 -0400 (0:00:00.061) 0:00:23.400 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:21:42 -0400 (0:00:00.064) 0:00:23.464 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:21:42 -0400 (0:00:00.065) 0:00:23.529 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:21:42 -0400 (0:00:00.062) 0:00:23.592 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:21:42 -0400 (0:00:00.066) 0:00:23.658 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:21:42 -0400 (0:00:00.111) 0:00:23.770 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:21:43 -0400 (0:00:00.099) 0:00:23.869 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:21:43 -0400 (0:00:00.101) 0:00:23.970 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:21:43 -0400 (0:00:00.063) 0:00:24.034 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:21:43 -0400 (0:00:00.611) 0:00:24.646 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:21:43 -0400 (0:00:00.051) 0:00:24.697 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:21:43 -0400 (0:00:00.044) 0:00:24.742 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:21:43 -0400 (0:00:00.036) 0:00:24.779 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3adb4bb8-e229-41ec-9055-2067c4d11c54 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:21:44 -0400 (0:00:00.520) 0:00:25.299 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:21:44 -0400 (0:00:00.045) 0:00:25.345 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3adb4bb8-e229-41ec-9055-2067c4d11c54" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:21:44 -0400 (0:00:00.046) 0:00:25.392 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3adb4bb8-e229-41ec-9055-2067c4d11c54\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3adb4bb8-e229-41ec-9055-2067c4d11c54" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:21:44 -0400 (0:00:00.057) 0:00:25.450 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:21:44 -0400 (0:00:00.055) 0:00:25.506 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 21 October 2024 07:21:45 -0400 (0:00:00.507) 0:00:26.013 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3adb4bb8-e229-41ec-9055-2067c4d11c54\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3adb4bb8-e229-41ec-9055-2067c4d11c54" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:21:45 -0400 (0:00:00.068) 0:00:26.082 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:21:45 -0400 (0:00:00.168) 0:00:26.250 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:21:45 -0400 (0:00:00.102) 0:00:26.353 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:21:45 -0400 (0:00:00.401) 0:00:26.755 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 07:21:45 -0400 (0:00:00.039) 0:00:26.795 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:21:46 -0400 (0:00:00.092) 0:00:26.887 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:21:46 -0400 (0:00:00.058) 0:00:26.945 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729509704.3980289, "block_size": 4096, "blocks": 8, "ctime": 1729509704.3980289, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729509704.3980289, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:21:46 -0400 (0:00:00.439) 0:00:27.385 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:21:46 -0400 (0:00:00.079) 0:00:27.465 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018046", "end": "2024-10-21 07:21:47.025838", "rc": 0, "start": "2024-10-21 07:21:47.007792" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:21:47 -0400 (0:00:00.491) 0:00:27.956 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:21:47 -0400 (0:00:00.084) 0:00:28.041 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:21:47 -0400 (0:00:00.095) 0:00:28.136 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:21:47 -0400 (0:00:00.168) 0:00:28.305 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:21:47 -0400 (0:00:00.068) 0:00:28.374 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 07:21:47 -0400 (0:00:00.083) 0:00:28.457 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 07:21:47 -0400 (0:00:00.064) 0:00:28.522 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 07:21:47 -0400 (0:00:00.061) 0:00:28.583 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:21:47 -0400 (0:00:00.056) 0:00:28.640 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:21:47 -0400 (0:00:00.047) 0:00:28.687 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:21:47 -0400 (0:00:00.044) 0:00:28.732 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:21:47 -0400 (0:00:00.077) 0:00:28.810 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035104", "end": "2024-10-21 07:21:48.350946", "rc": 1, "start": "2024-10-21 07:21:48.315842" } STDOUT: Connection 'statebr' (3adb4bb8-e229-41ec-9055-2067c4d11c54) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 21 October 2024 07:21:48 -0400 (0:00:00.446) 0:00:29.257 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:21:48 -0400 (0:00:00.072) 0:00:29.329 ******** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:21:48 -0400 (0:00:00.038) 0:00:29.368 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:21:48 -0400 (0:00:00.088) 0:00:29.456 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:21:48 -0400 (0:00:00.150) 0:00:29.607 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:21:48 -0400 (0:00:00.093) 0:00:29.701 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002854", "end": "2024-10-21 07:21:49.303628", "rc": 0, "start": "2024-10-21 07:21:49.300774" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:21:49 -0400 (0:00:00.500) 0:00:30.201 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:21:49 -0400 (0:00:00.057) 0:00:30.259 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:21:49 -0400 (0:00:00.059) 0:00:30.318 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:21:49 -0400 (0:00:00.101) 0:00:30.420 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:49 -0400 (0:00:00.099) 0:00:30.520 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:49 -0400 (0:00:00.095) 0:00:30.615 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:49 -0400 (0:00:00.053) 0:00:30.669 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:49 -0400 (0:00:00.046) 0:00:30.715 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:49 -0400 (0:00:00.041) 0:00:30.757 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:51 -0400 (0:00:01.599) 0:00:32.357 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:21:52 -0400 (0:00:01.415) 0:00:33.772 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:21:52 -0400 (0:00:00.042) 0:00:33.815 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:21:53 -0400 (0:00:00.047) 0:00:33.863 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:21:53 -0400 (0:00:00.089) 0:00:33.952 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:21:53 -0400 (0:00:00.040) 0:00:33.993 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:21:53 -0400 (0:00:00.043) 0:00:34.037 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:21:53 -0400 (0:00:00.045) 0:00:34.083 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:21:53 -0400 (0:00:00.045) 0:00:34.128 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:21:53 -0400 (0:00:00.076) 0:00:34.204 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:21:53 -0400 (0:00:00.058) 0:00:34.263 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:21:53 -0400 (0:00:00.081) 0:00:34.345 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:21:53 -0400 (0:00:00.063) 0:00:34.409 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:21:54 -0400 (0:00:00.773) 0:00:35.182 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:21:54 -0400 (0:00:00.110) 0:00:35.292 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:21:54 -0400 (0:00:00.111) 0:00:35.404 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:21:54 -0400 (0:00:00.134) 0:00:35.538 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:21:55 -0400 (0:00:00.788) 0:00:36.326 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:21:55 -0400 (0:00:00.057) 0:00:36.384 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:21:55 -0400 (0:00:00.051) 0:00:36.435 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:21:55 -0400 (0:00:00.040) 0:00:36.475 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:21:55 -0400 (0:00:00.036) 0:00:36.512 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:21:56 -0400 (0:00:00.513) 0:00:37.026 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:21:56 -0400 (0:00:00.063) 0:00:37.089 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 07:21:56 -0400 (0:00:00.105) 0:00:37.195 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:56 -0400 (0:00:00.117) 0:00:37.313 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:56 -0400 (0:00:00.092) 0:00:37.406 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:56 -0400 (0:00:00.049) 0:00:37.455 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:56 -0400 (0:00:00.040) 0:00:37.496 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:56 -0400 (0:00:00.044) 0:00:37.540 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:58 -0400 (0:00:01.639) 0:00:39.180 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:21:59 -0400 (0:00:01.447) 0:00:40.628 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:21:59 -0400 (0:00:00.061) 0:00:40.689 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:21:59 -0400 (0:00:00.104) 0:00:40.794 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:00 -0400 (0:00:00.056) 0:00:40.850 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:00 -0400 (0:00:00.059) 0:00:40.910 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:00 -0400 (0:00:00.071) 0:00:40.981 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:00 -0400 (0:00:00.047) 0:00:41.028 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:00 -0400 (0:00:00.048) 0:00:41.077 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:00 -0400 (0:00:00.091) 0:00:41.168 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:00 -0400 (0:00:00.040) 0:00:41.209 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:00 -0400 (0:00:00.038) 0:00:41.247 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:00 -0400 (0:00:00.043) 0:00:41.291 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:01 -0400 (0:00:00.692) 0:00:41.984 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:01 -0400 (0:00:00.075) 0:00:42.059 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:01 -0400 (0:00:00.061) 0:00:42.121 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:01 -0400 (0:00:00.060) 0:00:42.181 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:02 -0400 (0:00:00.699) 0:00:42.880 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:02 -0400 (0:00:00.110) 0:00:42.991 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:02 -0400 (0:00:00.048) 0:00:43.039 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 42d11f10-6f62-4680-9aa9-37dc48af5ccd skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:02 -0400 (0:00:00.047) 0:00:43.087 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:02 -0400 (0:00:00.046) 0:00:43.134 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:22:02 -0400 (0:00:00.400) 0:00:43.534 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 07:22:02 -0400 (0:00:00.101) 0:00:43.635 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:22:02 -0400 (0:00:00.087) 0:00:43.722 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729509715.2852702, "block_size": 4096, "blocks": 0, "ctime": 1729509715.2852702, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37341, "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": 1729509715.2852702, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 07:22:03 -0400 (0:00:00.434) 0:00:44.157 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 07:22:03 -0400 (0:00:00.076) 0:00:44.233 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:22:03 -0400 (0:00:00.100) 0:00:44.334 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:22:03 -0400 (0:00:00.072) 0:00:44.407 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729509715.3250604, "block_size": 4096, "blocks": 8, "ctime": 1729509715.2840602, "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": 1729509715.2840602, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:22:04 -0400 (0:00:00.508) 0:00:44.916 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:22:04 -0400 (0:00:00.112) 0:00:45.028 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017813", "end": "2024-10-21 07:22:04.604490", "rc": 0, "start": "2024-10-21 07:22:04.586677" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:22:04 -0400 (0:00:00.486) 0:00:45.515 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:22:04 -0400 (0:00:00.070) 0:00:45.585 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:22:04 -0400 (0:00:00.073) 0:00:45.659 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:22:04 -0400 (0:00:00.083) 0:00:45.742 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:22:04 -0400 (0:00:00.069) 0:00:45.811 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 07:22:05 -0400 (0:00:00.065) 0:00:45.877 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 07:22:05 -0400 (0:00:00.080) 0:00:45.957 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 07:22:05 -0400 (0:00:00.081) 0:00:46.039 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:22:05 -0400 (0:00:00.059) 0:00:46.098 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:22:05 -0400 (0:00:00.042) 0:00:46.141 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:22:05 -0400 (0:00:00.048) 0:00:46.189 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:22:05 -0400 (0:00:00.097) 0:00:46.287 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.063890", "end": "2024-10-21 07:22:05.852098", "rc": 1, "start": "2024-10-21 07:22:05.788208" } STDOUT: Connection 'statebr' (42d11f10-6f62-4680-9aa9-37dc48af5ccd) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 21 October 2024 07:22:05 -0400 (0:00:00.455) 0:00:46.743 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:22:05 -0400 (0:00:00.077) 0:00:46.820 ******** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:22:06 -0400 (0:00:00.038) 0:00:46.858 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:22:06 -0400 (0:00:00.078) 0:00:46.937 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:22:06 -0400 (0:00:00.088) 0:00:47.025 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:22:06 -0400 (0:00:00.104) 0:00:47.130 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003160", "end": "2024-10-21 07:22:06.669456", "rc": 0, "start": "2024-10-21 07:22:06.666296" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:22:06 -0400 (0:00:00.444) 0:00:47.574 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:22:06 -0400 (0:00:00.060) 0:00:47.635 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:22:06 -0400 (0:00:00.069) 0:00:47.705 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:22:07 -0400 (0:00:00.118) 0:00:47.823 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:07 -0400 (0:00:00.171) 0:00:47.995 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:07 -0400 (0:00:00.123) 0:00:48.119 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:07 -0400 (0:00:00.074) 0:00:48.193 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:07 -0400 (0:00:00.057) 0:00:48.251 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:07 -0400 (0:00:00.063) 0:00:48.314 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:09 -0400 (0:00:01.724) 0:00:50.038 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:10 -0400 (0:00:01.452) 0:00:51.491 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:10 -0400 (0:00:00.040) 0:00:51.532 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:10 -0400 (0:00:00.060) 0:00:51.592 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:10 -0400 (0:00:00.064) 0:00:51.656 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:10 -0400 (0:00:00.042) 0:00:51.699 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:10 -0400 (0:00:00.056) 0:00:51.755 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:10 -0400 (0:00:00.053) 0:00:51.809 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:11 -0400 (0:00:00.078) 0:00:51.887 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:11 -0400 (0:00:00.100) 0:00:51.988 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:11 -0400 (0:00:00.044) 0:00:52.032 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:11 -0400 (0:00:00.045) 0:00:52.078 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:11 -0400 (0:00:00.049) 0:00:52.127 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:11 -0400 (0:00:00.596) 0:00:52.723 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:11 -0400 (0:00:00.069) 0:00:52.793 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:12 -0400 (0:00:00.053) 0:00:52.847 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:12 -0400 (0:00:00.063) 0:00:52.910 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:12 -0400 (0:00:00.665) 0:00:53.575 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:12 -0400 (0:00:00.068) 0:00:53.644 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:12 -0400 (0:00:00.064) 0:00:53.709 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:12 -0400 (0:00:00.059) 0:00:53.769 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:13 -0400 (0:00:00.068) 0:00:53.837 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:22:13 -0400 (0:00:00.477) 0:00:54.314 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 07:22:13 -0400 (0:00:00.060) 0:00:54.374 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:13 -0400 (0:00:00.095) 0:00:54.470 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:13 -0400 (0:00:00.175) 0:00:54.645 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:13 -0400 (0:00:00.082) 0:00:54.728 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:13 -0400 (0:00:00.060) 0:00:54.788 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:14 -0400 (0:00:00.057) 0:00:54.846 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:15 -0400 (0:00:01.674) 0:00:56.520 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:17 -0400 (0:00:01.544) 0:00:58.065 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:17 -0400 (0:00:00.050) 0:00:58.116 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:17 -0400 (0:00:00.037) 0:00:58.153 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:17 -0400 (0:00:00.037) 0:00:58.191 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:17 -0400 (0:00:00.047) 0:00:58.238 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:17 -0400 (0:00:00.055) 0:00:58.294 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:17 -0400 (0:00:00.061) 0:00:58.355 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:17 -0400 (0:00:00.113) 0:00:58.469 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:17 -0400 (0:00:00.128) 0:00:58.598 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:17 -0400 (0:00:00.058) 0:00:58.657 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:17 -0400 (0:00:00.075) 0:00:58.732 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:17 -0400 (0:00:00.073) 0:00:58.806 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:18 -0400 (0:00:00.550) 0:00:59.357 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:18 -0400 (0:00:00.065) 0:00:59.423 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:18 -0400 (0:00:00.037) 0:00:59.460 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:18 -0400 (0:00:00.037) 0:00:59.498 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:19 -0400 (0:00:00.610) 0:01:00.108 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:19 -0400 (0:00:00.076) 0:01:00.185 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:19 -0400 (0:00:00.072) 0:01:00.257 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90afbfcf-eb80-4288-87d0-7e10130f8225 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:19 -0400 (0:00:00.059) 0:01:00.316 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:19 -0400 (0:00:00.058) 0:01:00.375 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:22:19 -0400 (0:00:00.438) 0:01:00.813 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 21 October 2024 07:22:20 -0400 (0:00:00.101) 0:01:00.914 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:20 -0400 (0:00:00.116) 0:01:01.031 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:20 -0400 (0:00:00.087) 0:01:01.119 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:20 -0400 (0:00:00.055) 0:01:01.175 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:20 -0400 (0:00:00.096) 0:01:01.271 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:20 -0400 (0:00:00.039) 0:01:01.311 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:22 -0400 (0:00:01.567) 0:01:02.878 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:23 -0400 (0:00:01.457) 0:01:04.336 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:23 -0400 (0:00:00.039) 0:01:04.376 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:23 -0400 (0:00:00.037) 0:01:04.413 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:23 -0400 (0:00:00.037) 0:01:04.451 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:23 -0400 (0:00:00.037) 0:01:04.488 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:23 -0400 (0:00:00.043) 0:01:04.532 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:23 -0400 (0:00:00.038) 0:01:04.570 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:23 -0400 (0:00:00.043) 0:01:04.614 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:23 -0400 (0:00:00.071) 0:01:04.686 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:23 -0400 (0:00:00.037) 0:01:04.724 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:23 -0400 (0:00:00.042) 0:01:04.766 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:24 -0400 (0:00:00.065) 0:01:04.831 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:24 -0400 (0:00:00.659) 0:01:05.491 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:24 -0400 (0:00:00.071) 0:01:05.562 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:24 -0400 (0:00:00.062) 0:01:05.624 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:24 -0400 (0:00:00.107) 0:01:05.732 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:25 -0400 (0:00:00.599) 0:01:06.331 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:25 -0400 (0:00:00.060) 0:01:06.391 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:25 -0400 (0:00:00.055) 0:01:06.446 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:25 -0400 (0:00:00.060) 0:01:06.507 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:25 -0400 (0:00:00.087) 0:01:06.595 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:22:26 -0400 (0:00:00.519) 0:01:07.115 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 07:22:26 -0400 (0:00:00.127) 0:01:07.243 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:22:26 -0400 (0:00:00.147) 0:01:07.390 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729509732.5904346, "block_size": 4096, "blocks": 0, "ctime": 1729509732.5904346, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37472, "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": 1729509732.5904346, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 07:22:27 -0400 (0:00:00.598) 0:01:07.988 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 07:22:27 -0400 (0:00:00.056) 0:01:08.045 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:22:27 -0400 (0:00:00.110) 0:01:08.156 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:22:27 -0400 (0:00:00.038) 0:01:08.194 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:22:27 -0400 (0:00:00.460) 0:01:08.655 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:22:27 -0400 (0:00:00.052) 0:01:08.708 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017771", "end": "2024-10-21 07:22:28.205310", "rc": 1, "start": "2024-10-21 07:22:28.187539" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:22:28 -0400 (0:00:00.413) 0:01:09.121 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:22:28 -0400 (0:00:00.071) 0:01:09.193 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:22:28 -0400 (0:00:00.052) 0:01:09.245 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:22:28 -0400 (0:00:00.051) 0:01:09.297 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:22:28 -0400 (0:00:00.046) 0:01:09.343 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 07:22:28 -0400 (0:00:00.041) 0:01:09.385 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:22:28 -0400 (0:00:00.041) 0:01:09.426 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:22:28 -0400 (0:00:00.041) 0:01:09.468 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:22:28 -0400 (0:00:00.048) 0:01:09.517 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:22:28 -0400 (0:00:00.237) 0:01:09.754 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.065423", "end": "2024-10-21 07:22:29.429921", "rc": 1, "start": "2024-10-21 07:22:29.364498" } STDOUT: Connection 'statebr' (90afbfcf-eb80-4288-87d0-7e10130f8225) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 21 October 2024 07:22:29 -0400 (0:00:00.627) 0:01:10.381 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:22:29 -0400 (0:00:00.118) 0:01:10.500 ******** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:22:29 -0400 (0:00:00.060) 0:01:10.560 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:22:29 -0400 (0:00:00.122) 0:01:10.683 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:22:30 -0400 (0:00:00.139) 0:01:10.823 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:22:30 -0400 (0:00:00.097) 0:01:10.921 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003380", "end": "2024-10-21 07:22:30.498386", "rc": 0, "start": "2024-10-21 07:22:30.495006" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:22:30 -0400 (0:00:00.473) 0:01:11.395 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:22:30 -0400 (0:00:00.048) 0:01:11.443 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:22:30 -0400 (0:00:00.044) 0:01:11.487 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:22:30 -0400 (0:00:00.074) 0:01:11.562 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:30 -0400 (0:00:00.104) 0:01:11.667 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:30 -0400 (0:00:00.085) 0:01:11.753 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:31 -0400 (0:00:00.081) 0:01:11.835 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:31 -0400 (0:00:00.043) 0:01:11.878 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:31 -0400 (0:00:00.045) 0:01:11.923 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:32 -0400 (0:00:01.566) 0:01:13.489 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:34 -0400 (0:00:01.580) 0:01:15.070 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:34 -0400 (0:00:00.065) 0:01:15.135 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:34 -0400 (0:00:00.080) 0:01:15.216 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:34 -0400 (0:00:00.093) 0:01:15.310 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:34 -0400 (0:00:00.053) 0:01:15.363 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:34 -0400 (0:00:00.051) 0:01:15.415 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:34 -0400 (0:00:00.056) 0:01:15.471 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:34 -0400 (0:00:00.049) 0:01:15.521 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:34 -0400 (0:00:00.078) 0:01:15.600 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:34 -0400 (0:00:00.049) 0:01:15.650 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:34 -0400 (0:00:00.065) 0:01:15.716 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:34 -0400 (0:00:00.066) 0:01:15.783 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:35 -0400 (0:00:00.758) 0:01:16.542 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:35 -0400 (0:00:00.076) 0:01:16.618 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:35 -0400 (0:00:00.054) 0:01:16.672 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:35 -0400 (0:00:00.058) 0:01:16.730 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:36 -0400 (0:00:00.613) 0:01:17.344 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:36 -0400 (0:00:00.050) 0:01:17.395 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:36 -0400 (0:00:00.060) 0:01:17.455 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:36 -0400 (0:00:00.052) 0:01:17.508 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:36 -0400 (0:00:00.044) 0:01:17.553 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:22:37 -0400 (0:00:00.383) 0:01:17.936 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 07:22:37 -0400 (0:00:00.096) 0:01:18.033 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:37 -0400 (0:00:00.124) 0:01:18.157 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:37 -0400 (0:00:00.175) 0:01:18.333 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:37 -0400 (0:00:00.097) 0:01:18.430 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:37 -0400 (0:00:00.045) 0:01:18.476 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:37 -0400 (0:00:00.042) 0:01:18.518 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:39 -0400 (0:00:01.606) 0:01:20.125 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:40 -0400 (0:00:01.496) 0:01:21.621 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:40 -0400 (0:00:00.038) 0:01:21.660 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:40 -0400 (0:00:00.036) 0:01:21.697 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:40 -0400 (0:00:00.037) 0:01:21.734 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:40 -0400 (0:00:00.038) 0:01:21.772 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:40 -0400 (0:00:00.044) 0:01:21.817 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:41 -0400 (0:00:00.037) 0:01:21.855 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:41 -0400 (0:00:00.043) 0:01:21.899 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:41 -0400 (0:00:00.072) 0:01:21.971 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:41 -0400 (0:00:00.036) 0:01:22.008 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:41 -0400 (0:00:00.037) 0:01:22.046 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:41 -0400 (0:00:00.042) 0:01:22.088 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:41 -0400 (0:00:00.545) 0:01:22.634 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:41 -0400 (0:00:00.140) 0:01:22.775 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:42 -0400 (0:00:00.078) 0:01:22.853 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:42 -0400 (0:00:00.047) 0:01:22.901 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:42 -0400 (0:00:00.530) 0:01:23.431 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:42 -0400 (0:00:00.038) 0:01:23.469 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:42 -0400 (0:00:00.039) 0:01:23.509 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc9a4fc1-96fa-4ab0-a595-44f0790c3a05 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:42 -0400 (0:00:00.039) 0:01:23.549 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:42 -0400 (0:00:00.038) 0:01:23.588 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 21 October 2024 07:22:43 -0400 (0:00:00.362) 0:01:23.950 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:43 -0400 (0:00:00.063) 0:01:24.014 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:43 -0400 (0:00:00.103) 0:01:24.118 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:43 -0400 (0:00:00.121) 0:01:24.240 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:43 -0400 (0:00:00.089) 0:01:24.329 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:43 -0400 (0:00:00.140) 0:01:24.470 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:45 -0400 (0:00:01.838) 0:01:26.309 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:47 -0400 (0:00:01.574) 0:01:27.883 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:47 -0400 (0:00:00.058) 0:01:27.941 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:47 -0400 (0:00:00.109) 0:01:28.051 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:47 -0400 (0:00:00.040) 0:01:28.091 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:47 -0400 (0:00:00.042) 0:01:28.134 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:47 -0400 (0:00:00.055) 0:01:28.189 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:47 -0400 (0:00:00.039) 0:01:28.229 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:47 -0400 (0:00:00.043) 0:01:28.272 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:47 -0400 (0:00:00.073) 0:01:28.345 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:47 -0400 (0:00:00.036) 0:01:28.382 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:47 -0400 (0:00:00.049) 0:01:28.432 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:47 -0400 (0:00:00.042) 0:01:28.474 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:48 -0400 (0:00:00.544) 0:01:29.018 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:48 -0400 (0:00:00.044) 0:01:29.063 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:48 -0400 (0:00:00.037) 0:01:29.100 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:48 -0400 (0:00:00.036) 0:01:29.137 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:48 -0400 (0:00:00.578) 0:01:29.716 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:48 -0400 (0:00:00.045) 0:01:29.761 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:48 -0400 (0:00:00.053) 0:01:29.815 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:49 -0400 (0:00:00.041) 0:01:29.857 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:49 -0400 (0:00:00.037) 0:01:29.895 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:22:49 -0400 (0:00:00.388) 0:01:30.283 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 07:22:49 -0400 (0:00:00.099) 0:01:30.383 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:49 -0400 (0:00:00.104) 0:01:30.487 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:49 -0400 (0:00:00.077) 0:01:30.564 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:49 -0400 (0:00:00.045) 0:01:30.610 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:49 -0400 (0:00:00.036) 0:01:30.646 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:49 -0400 (0:00:00.079) 0:01:30.726 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:51 -0400 (0:00:01.573) 0:01:32.299 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:52 -0400 (0:00:01.420) 0:01:33.719 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:52 -0400 (0:00:00.040) 0:01:33.760 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:53 -0400 (0:00:00.073) 0:01:33.834 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:53 -0400 (0:00:00.038) 0:01:33.872 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:53 -0400 (0:00:00.041) 0:01:33.913 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:53 -0400 (0:00:00.064) 0:01:33.978 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:53 -0400 (0:00:00.059) 0:01:34.037 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:53 -0400 (0:00:00.063) 0:01:34.101 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:53 -0400 (0:00:00.115) 0:01:34.216 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:53 -0400 (0:00:00.057) 0:01:34.273 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:53 -0400 (0:00:00.056) 0:01:34.330 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:53 -0400 (0:00:00.067) 0:01:34.398 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:54 -0400 (0:00:00.566) 0:01:34.965 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:54 -0400 (0:00:00.043) 0:01:35.008 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:54 -0400 (0:00:00.037) 0:01:35.046 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:54 -0400 (0:00:00.038) 0:01:35.084 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:54 -0400 (0:00:00.626) 0:01:35.711 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:54 -0400 (0:00:00.036) 0:01:35.748 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:54 -0400 (0:00:00.040) 0:01:35.789 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:55 -0400 (0:00:00.040) 0:01:35.830 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:55 -0400 (0:00:00.036) 0:01:35.866 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:22:55 -0400 (0:00:00.386) 0:01:36.253 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 07:22:55 -0400 (0:00:00.106) 0:01:36.360 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:22:55 -0400 (0:00:00.083) 0:01:36.443 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:22:55 -0400 (0:00:00.043) 0:01:36.486 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:22:56 -0400 (0:00:00.358) 0:01:36.845 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:22:56 -0400 (0:00:00.035) 0:01:36.880 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017385", "end": "2024-10-21 07:22:56.364595", "rc": 1, "start": "2024-10-21 07:22:56.347210" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:22:56 -0400 (0:00:00.371) 0:01:37.252 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:22:56 -0400 (0:00:00.039) 0:01:37.291 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:22:56 -0400 (0:00:00.040) 0:01:37.332 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:22:56 -0400 (0:00:00.040) 0:01:37.372 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:22:56 -0400 (0:00:00.039) 0:01:37.412 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 07:22:56 -0400 (0:00:00.040) 0:01:37.452 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:22:56 -0400 (0:00:00.042) 0:01:37.494 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:22:56 -0400 (0:00:00.086) 0:01:37.580 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:22:56 -0400 (0:00:00.087) 0:01:37.668 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:22:57 -0400 (0:00:00.438) 0:01:38.106 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:22:57 -0400 (0:00:00.067) 0:01:38.174 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:22:57 -0400 (0:00:00.066) 0:01:38.240 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:22:57 -0400 (0:00:00.176) 0:01:38.417 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034773", "end": "2024-10-21 07:22:57.953185", "rc": 1, "start": "2024-10-21 07:22:57.918412" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 21 October 2024 07:22:58 -0400 (0:00:00.429) 0:01:38.846 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:22:58 -0400 (0:00:00.063) 0:01:38.910 ******** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:22:58 -0400 (0:00:00.039) 0:01:38.949 ******** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:22:58 -0400 (0:00:00.090) 0:01:39.040 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:22:58 -0400 (0:00:00.084) 0:01:39.125 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:22:58 -0400 (0:00:00.069) 0:01:39.194 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003003", "end": "2024-10-21 07:22:58.672285", "rc": 0, "start": "2024-10-21 07:22:58.669282" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:22:58 -0400 (0:00:00.389) 0:01:39.583 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:22:58 -0400 (0:00:00.043) 0:01:39.627 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:22:58 -0400 (0:00:00.047) 0:01:39.675 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:22:59 -0400 (0:00:00.189) 0:01:39.864 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:59 -0400 (0:00:00.106) 0:01:39.970 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:59 -0400 (0:00:00.102) 0:01:40.073 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:59 -0400 (0:00:00.104) 0:01:40.178 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:59 -0400 (0:00:00.061) 0:01:40.240 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:59 -0400 (0:00:00.087) 0:01:40.327 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:23:01 -0400 (0:00:01.716) 0:01:42.044 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:23:02 -0400 (0:00:01.528) 0:01:43.572 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:23:02 -0400 (0:00:00.060) 0:01:43.632 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:23:02 -0400 (0:00:00.050) 0:01:43.682 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:23:02 -0400 (0:00:00.040) 0:01:43.723 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:23:02 -0400 (0:00:00.047) 0:01:43.770 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:23:03 -0400 (0:00:00.055) 0:01:43.826 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:23:03 -0400 (0:00:00.037) 0:01:43.863 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:23:03 -0400 (0:00:00.046) 0:01:43.909 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:23:03 -0400 (0:00:00.091) 0:01:44.001 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:23:03 -0400 (0:00:00.053) 0:01:44.055 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:23:03 -0400 (0:00:00.056) 0:01:44.111 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:23:03 -0400 (0:00:00.103) 0:01:44.214 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:23:04 -0400 (0:00:00.667) 0:01:44.882 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:23:04 -0400 (0:00:00.108) 0:01:44.990 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:23:04 -0400 (0:00:00.128) 0:01:45.119 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:23:04 -0400 (0:00:00.092) 0:01:45.211 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55a20770-de46-4011-ba87-4c11659191f9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:23:05 -0400 (0:00:00.792) 0:01:46.004 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:23:05 -0400 (0:00:00.078) 0:01:46.083 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55a20770-de46-4011-ba87-4c11659191f9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:23:05 -0400 (0:00:00.082) 0:01:46.165 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55a20770-de46-4011-ba87-4c11659191f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55a20770-de46-4011-ba87-4c11659191f9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:23:05 -0400 (0:00:00.060) 0:01:46.226 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:23:05 -0400 (0:00:00.050) 0:01:46.277 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:23:05 -0400 (0:00:00.470) 0:01:46.747 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55a20770-de46-4011-ba87-4c11659191f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55a20770-de46-4011-ba87-4c11659191f9" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 07:23:05 -0400 (0:00:00.056) 0:01:46.804 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:23:06 -0400 (0:00:00.138) 0:01:46.943 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:23:06 -0400 (0:00:00.083) 0:01:47.026 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:23:06 -0400 (0:00:00.047) 0:01:47.073 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:23:06 -0400 (0:00:00.037) 0:01:47.111 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:23:06 -0400 (0:00:00.036) 0:01:47.147 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:23:07 -0400 (0:00:01.608) 0:01:48.755 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:23:09 -0400 (0:00:01.443) 0:01:50.198 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:23:09 -0400 (0:00:00.036) 0:01:50.235 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:23:09 -0400 (0:00:00.043) 0:01:50.279 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:23:09 -0400 (0:00:00.061) 0:01:50.340 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:23:09 -0400 (0:00:00.060) 0:01:50.401 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:23:09 -0400 (0:00:00.085) 0:01:50.486 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:23:09 -0400 (0:00:00.065) 0:01:50.551 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:23:09 -0400 (0:00:00.063) 0:01:50.615 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:23:09 -0400 (0:00:00.111) 0:01:50.727 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:23:09 -0400 (0:00:00.067) 0:01:50.794 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:23:10 -0400 (0:00:00.098) 0:01:50.893 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:23:10 -0400 (0:00:00.104) 0:01:50.998 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:23:10 -0400 (0:00:00.765) 0:01:51.763 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:23:11 -0400 (0:00:00.059) 0:01:51.823 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:23:11 -0400 (0:00:00.042) 0:01:51.865 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:23:11 -0400 (0:00:00.043) 0:01:51.909 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 55a20770-de46-4011-ba87-4c11659191f9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:23:11 -0400 (0:00:00.551) 0:01:52.460 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:23:11 -0400 (0:00:00.036) 0:01:52.497 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 55a20770-de46-4011-ba87-4c11659191f9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:23:11 -0400 (0:00:00.039) 0:01:52.536 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 55a20770-de46-4011-ba87-4c11659191f9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 55a20770-de46-4011-ba87-4c11659191f9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:23:11 -0400 (0:00:00.040) 0:01:52.577 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:23:11 -0400 (0:00:00.043) 0:01:52.620 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 07:23:12 -0400 (0:00:00.407) 0:01:53.028 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:23:12 -0400 (0:00:00.077) 0:01:53.106 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:23:12 -0400 (0:00:00.108) 0:01:53.215 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:23:12 -0400 (0:00:00.126) 0:01:53.342 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:23:12 -0400 (0:00:00.076) 0:01:53.418 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:23:12 -0400 (0:00:00.106) 0:01:53.524 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:23:14 -0400 (0:00:01.691) 0:01:55.216 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:23:15 -0400 (0:00:01.458) 0:01:56.674 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:23:15 -0400 (0:00:00.058) 0:01:56.733 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:23:15 -0400 (0:00:00.045) 0:01:56.778 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:23:16 -0400 (0:00:00.045) 0:01:56.823 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:23:16 -0400 (0:00:00.045) 0:01:56.869 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:23:16 -0400 (0:00:00.050) 0:01:56.919 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:23:16 -0400 (0:00:00.038) 0:01:56.958 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:23:16 -0400 (0:00:00.042) 0:01:57.000 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:23:16 -0400 (0:00:00.075) 0:01:57.075 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:23:16 -0400 (0:00:00.037) 0:01:57.112 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:23:16 -0400 (0:00:00.035) 0:01:57.148 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:23:16 -0400 (0:00:00.046) 0:01:57.194 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:23:16 -0400 (0:00:00.530) 0:01:57.724 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:23:16 -0400 (0:00:00.043) 0:01:57.767 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:23:16 -0400 (0:00:00.036) 0:01:57.803 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:23:17 -0400 (0:00:00.092) 0:01:57.896 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:23:17 -0400 (0:00:00.676) 0:01:58.572 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:23:17 -0400 (0:00:00.053) 0:01:58.625 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:23:17 -0400 (0:00:00.066) 0:01:58.692 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:23:17 -0400 (0:00:00.051) 0:01:58.744 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:23:17 -0400 (0:00:00.041) 0:01:58.786 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:23:18 -0400 (0:00:00.385) 0:01:59.171 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 07:23:18 -0400 (0:00:00.090) 0:01:59.262 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:23:18 -0400 (0:00:00.108) 0:01:59.370 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:23:18 -0400 (0:00:00.098) 0:01:59.469 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:23:18 -0400 (0:00:00.104) 0:01:59.573 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:23:18 -0400 (0:00:00.037) 0:01:59.610 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:23:18 -0400 (0:00:00.038) 0:01:59.649 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:23:20 -0400 (0:00:01.540) 0:02:01.189 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:23:21 -0400 (0:00:01.457) 0:02:02.647 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:23:21 -0400 (0:00:00.045) 0:02:02.693 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:23:21 -0400 (0:00:00.045) 0:02:02.738 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:23:21 -0400 (0:00:00.046) 0:02:02.784 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:23:22 -0400 (0:00:00.041) 0:02:02.825 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:23:22 -0400 (0:00:00.045) 0:02:02.871 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:23:22 -0400 (0:00:00.038) 0:02:02.909 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:23:22 -0400 (0:00:00.042) 0:02:02.952 ******** skipping: [managed-node2] => { "changed": false, "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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:23:22 -0400 (0:00:00.078) 0:02:03.030 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:23:22 -0400 (0:00:00.049) 0:02:03.080 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:23:22 -0400 (0:00:00.041) 0:02:03.121 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:23:22 -0400 (0:00:00.048) 0:02:03.170 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:23:22 -0400 (0:00:00.526) 0:02:03.697 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:23:22 -0400 (0:00:00.043) 0:02:03.740 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:23:22 -0400 (0:00:00.042) 0:02:03.783 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:23:23 -0400 (0:00:00.108) 0:02:03.891 ******** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:23:23 -0400 (0:00:00.564) 0:02:04.456 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:23:23 -0400 (0:00:00.041) 0:02:04.497 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:23:23 -0400 (0:00:00.047) 0:02:04.544 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:23:23 -0400 (0:00:00.049) 0:02:04.594 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:23:23 -0400 (0:00:00.041) 0:02:04.636 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:23:24 -0400 (0:00:00.376) 0:02:05.012 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 07:23:24 -0400 (0:00:00.107) 0:02:05.120 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:23:24 -0400 (0:00:00.091) 0:02:05.211 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:23:24 -0400 (0:00:00.045) 0:02:05.257 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:23:24 -0400 (0:00:00.353) 0:02:05.610 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:23:24 -0400 (0:00:00.093) 0:02:05.704 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016725", "end": "2024-10-21 07:23:25.189408", "rc": 1, "start": "2024-10-21 07:23:25.172683" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:23:25 -0400 (0:00:00.374) 0:02:06.078 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:23:25 -0400 (0:00:00.039) 0:02:06.117 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:23:25 -0400 (0:00:00.039) 0:02:06.157 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:23:25 -0400 (0:00:00.043) 0:02:06.201 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:23:25 -0400 (0:00:00.053) 0:02:06.255 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 07:23:25 -0400 (0:00:00.045) 0:02:06.300 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 21 October 2024 07:23:25 -0400 (0:00:00.048) 0:02:06.348 ******** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.853523", "end": "2024-10-21 07:23:26.670287", "rc": 0, "start": "2024-10-21 07:23:25.816764" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 21 October 2024 07:23:26 -0400 (0:00:01.219) 0:02:07.568 ******** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 21 October 2024 07:23:26 -0400 (0:00:00.038) 0:02:07.606 ******** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:23:26 -0400 (0:00:00.037) 0:02:07.644 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:23:26 -0400 (0:00:00.123) 0:02:07.767 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:23:27 -0400 (0:00:00.060) 0:02:07.827 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:23:27 -0400 (0:00:00.414) 0:02:08.242 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:23:27 -0400 (0:00:00.061) 0:02:08.304 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:23:27 -0400 (0:00:00.060) 0:02:08.364 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:23:27 -0400 (0:00:00.126) 0:02:08.491 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037998", "end": "2024-10-21 07:23:28.096641", "rc": 1, "start": "2024-10-21 07:23:28.058643" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 21 October 2024 07:23:28 -0400 (0:00:00.515) 0:02:09.006 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.011064", "end": "2024-10-21 07:23:28.590093", "rc": 0, "start": "2024-10-21 07:23:28.579029" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:88:57:c6:62:d5 brd ff:ff:ff:ff:ff:ff inet 10.31.11.178/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2709sec preferred_lft 2709sec inet6 fe80::1088:57ff:fec6:62d5/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.178 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.178 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 21 October 2024 07:23:28 -0400 (0:00:00.485) 0:02:09.492 ******** ok: [managed-node2] => { "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.113832", "end": "2024-10-21 07:23:29.173362", "rc": 0, "start": "2024-10-21 07:23:29.059530" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 8714 0 --:--:-- --:--:-- --:--:-- 8714 % 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 5820 0 --:--:-- --:--:-- --:--:-- 5820 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Monday 21 October 2024 07:23:29 -0400 (0:00:00.562) 0:02:10.054 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.09s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-FlR/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-FlR/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-FlR/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-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21