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_initscripts.yml ***************************************** 2 plays in /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Wednesday 14 August 2024 17:05:13 -0400 (0:00:00.033) 0:00:00.033 ****** ok: [managed_node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Wednesday 14 August 2024 17:05:15 -0400 (0:00:01.182) 0:00:01.216 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 14 August 2024 17:05:15 -0400 (0:00:00.041) 0:00:01.258 ****** ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 14 August 2024 17:05:15 -0400 (0:00:00.543) 0:00:01.801 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 14 August 2024 17:05:16 -0400 (0:00:00.607) 0:00:02.409 ****** ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 14 August 2024 17:05:16 -0400 (0:00:00.059) 0:00:02.469 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 14 August 2024 17:05:16 -0400 (0:00:00.069) 0:00:02.539 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 14 August 2024 17:05:16 -0400 (0:00:00.084) 0:00:02.624 ****** ok: [managed_node3] => { "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 [Create EPEL-7] *********************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:25 Wednesday 14 August 2024 17:05:16 -0400 (0:00:00.456) 0:00:03.080 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 14 August 2024 17:05:17 -0400 (0:00:00.019) 0:00:03.100 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:43 Wednesday 14 August 2024 17:05:17 -0400 (0:00:00.019) 0:00:03.119 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:48 Wednesday 14 August 2024 17:05:17 -0400 (0:00:00.017) 0:00:03.137 ****** [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_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.251161", "end": "2024-08-14 17:05:17.684691", "rc": 0, "start": "2024-08-14 17:05:17.433530" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:53 Wednesday 14 August 2024 17:05:17 -0400 (0:00:00.729) 0:00:03.867 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Wednesday 14 August 2024 17:05:17 -0400 (0:00:00.029) 0:00:03.896 ****** ok: [managed_node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 14 August 2024 17:05:17 -0400 (0:00:00.038) 0:00:03.935 ****** ok: [managed_node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 14 August 2024 17:05:18 -0400 (0:00:00.718) 0:00:04.653 ****** ok: [managed_node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 14 August 2024 17:05:18 -0400 (0:00:00.028) 0:00:04.682 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 14 August 2024 17:05:18 -0400 (0:00:00.043) 0:00:04.726 ****** ok: [managed_node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 14 August 2024 17:05:18 -0400 (0:00:00.028) 0:00:04.754 ****** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 14 August 2024 17:05:18 -0400 (0:00:00.086) 0:00:04.841 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 17:05:18 -0400 (0:00:00.039) 0:00:04.880 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 17:05:18 -0400 (0:00:00.038) 0:00:04.918 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003159", "end": "2024-08-14 17:05:19.153098", "rc": 0, "start": "2024-08-14 17:05:19.149939" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 17:05:19 -0400 (0:00:00.381) 0:00:05.300 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 17:05:19 -0400 (0:00:00.028) 0:00:05.329 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 14 August 2024 17:05:19 -0400 (0:00:00.028) 0:00:05.357 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 14 August 2024 17:05:19 -0400 (0:00:00.057) 0:00:05.414 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007866", "end": "2024-08-14 17:05:19.711007", "rc": 1, "start": "2024-08-14 17:05:19.703141" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 17:05:19 -0400 (0:00:00.445) 0:00:05.860 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 17:05:19 -0400 (0:00:00.029) 0:00:05.889 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 17:05:20 -0400 (0:00:00.365) 0:00:06.255 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 14 August 2024 17:05:20 -0400 (0:00:00.023) 0:00:06.278 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 August 2024 17:05:20 -0400 (0:00:00.031) 0:00:06.310 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:05:20 -0400 (0:00:00.098) 0:00:06.408 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:05:20 -0400 (0:00:00.038) 0:00:06.446 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:05:20 -0400 (0:00:00.020) 0:00:06.467 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:05:20 -0400 (0:00:00.018) 0:00:06.486 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:05:20 -0400 (0:00:00.018) 0:00:06.504 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:05:22 -0400 (0:00:01.921) 0:00:08.425 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:05:24 -0400 (0:00:01.765) 0:00:10.191 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.062) 0:00:10.254 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.059) 0:00:10.313 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.076) 0:00:10.389 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.044) 0:00:10.434 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.053) 0:00:10.487 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.041) 0:00:10.528 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.042) 0:00:10.570 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.073) 0:00:10.644 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.042) 0:00:10.686 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.044) 0:00:10.731 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.070) 0:00:10.802 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.054) 0:00:10.857 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:05:24 -0400 (0:00:00.043) 0:00:10.900 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:05:25 -0400 (0:00:00.975) 0:00:11.875 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmpvue0ey4w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:05:26 -0400 (0:00:00.501) 0:00:12.376 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:05:27 -0400 (0:00:00.848) 0:00:13.224 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:05:27 -0400 (0:00:00.037) 0:00:13.262 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:05:27 -0400 (0:00:00.039) 0:00:13.302 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:05:27 -0400 (0:00:00.044) 0:00:13.346 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:05:27 -0400 (0:00:00.049) 0:00:13.396 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 August 2024 17:05:27 -0400 (0:00:00.603) 0:00:13.999 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 14 August 2024 17:05:27 -0400 (0:00:00.049) 0:00:14.049 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 August 2024 17:05:28 -0400 (0:00:00.095) 0:00:14.145 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 17:05:28 -0400 (0:00:00.081) 0:00:14.226 ****** ok: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 17:05:28 -0400 (0:00:00.043) 0:00:14.269 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723669527.031428, "block_size": 4096, "blocks": 8, "ctime": 1723669527.031428, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723669527.031428, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 17:05:28 -0400 (0:00:00.388) 0:00:14.658 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 17:05:28 -0400 (0:00:00.079) 0:00:14.738 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020322", "end": "2024-08-14 17:05:29.025420", "rc": 1, "start": "2024-08-14 17:05:29.005098" } 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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 17:05:29 -0400 (0:00:00.496) 0:00:15.235 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 17:05:29 -0400 (0:00:00.064) 0:00:15.299 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003022", "end": "2024-08-14 17:05:29.676408", "rc": 0, "start": "2024-08-14 17:05:29.673386" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 17:05:29 -0400 (0:00:00.577) 0:00:15.877 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 17:05:29 -0400 (0:00:00.075) 0:00:15.952 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002988", "end": "2024-08-14 17:05:30.315212", "rc": 0, "start": "2024-08-14 17:05:30.312224" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 17:05:30 -0400 (0:00:00.570) 0:00:16.523 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 August 2024 17:05:30 -0400 (0:00:00.065) 0:00:16.589 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 August 2024 17:05:30 -0400 (0:00:00.077) 0:00:16.667 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 August 2024 17:05:30 -0400 (0:00:00.081) 0:00:16.748 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 14 August 2024 17:05:30 -0400 (0:00:00.062) 0:00:16.811 ****** skipping: [managed_node3] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 14 August 2024 17:05:30 -0400 (0:00:00.078) 0:00:16.889 ****** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 14 August 2024 17:05:30 -0400 (0:00:00.064) 0:00:16.954 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 August 2024 17:05:30 -0400 (0:00:00.086) 0:00:17.041 ****** fatal: [managed_node3]: 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.038193", "end": "2024-08-14 17:05:31.345278", "rc": 1, "start": "2024-08-14 17:05:31.307085" } 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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 14 August 2024 17:05:31 -0400 (0:00:00.486) 0:00:17.528 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 14 August 2024 17:05:31 -0400 (0:00:00.100) 0:00:17.628 ****** ok: [managed_node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 14 August 2024 17:05:31 -0400 (0:00:00.063) 0:00:17.691 ****** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (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_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 14 August 2024 17:05:31 -0400 (0:00:00.116) 0:00:17.808 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 17:05:31 -0400 (0:00:00.128) 0:00:17.937 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 17:05:31 -0400 (0:00:00.085) 0:00:18.023 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003109", "end": "2024-08-14 17:05:32.270261", "rc": 0, "start": "2024-08-14 17:05:32.267152" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 17:05:32 -0400 (0:00:00.423) 0:00:18.446 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 17:05:32 -0400 (0:00:00.046) 0:00:18.492 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 14 August 2024 17:05:32 -0400 (0:00:00.045) 0:00:18.537 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 14 August 2024 17:05:32 -0400 (0:00:00.107) 0:00:18.645 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005759", "end": "2024-08-14 17:05:32.878553", "rc": 1, "start": "2024-08-14 17:05:32.872794" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 17:05:32 -0400 (0:00:00.414) 0:00:19.059 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 17:05:33 -0400 (0:00:00.105) 0:00:19.165 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 17:05:33 -0400 (0:00:00.569) 0:00:19.735 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 14 August 2024 17:05:33 -0400 (0:00:00.110) 0:00:19.845 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 August 2024 17:05:33 -0400 (0:00:00.102) 0:00:19.948 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:05:33 -0400 (0:00:00.134) 0:00:20.083 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:05:34 -0400 (0:00:00.119) 0:00:20.202 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:05:34 -0400 (0:00:00.051) 0:00:20.254 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:05:34 -0400 (0:00:00.039) 0:00:20.294 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:05:34 -0400 (0:00:00.044) 0:00:20.339 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:05:36 -0400 (0:00:01.848) 0:00:22.188 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:05:37 -0400 (0:00:01.653) 0:00:23.841 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:05:37 -0400 (0:00:00.045) 0:00:23.886 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:05:37 -0400 (0:00:00.058) 0:00:23.944 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:05:37 -0400 (0:00:00.077) 0:00:24.022 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.173) 0:00:24.196 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.072) 0:00:24.268 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.060) 0:00:24.329 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.067) 0:00:24.396 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.113) 0:00:24.509 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.049) 0:00:24.559 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.054) 0:00:24.613 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.059) 0:00:24.673 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.039) 0:00:24.712 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:05:38 -0400 (0:00:00.038) 0:00:24.751 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:05:39 -0400 (0:00:00.653) 0:00:25.405 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmpdf6s1z9m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:05:39 -0400 (0:00:00.475) 0:00:25.881 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:05:40 -0400 (0:00:00.764) 0:00:26.645 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:05:40 -0400 (0:00:00.058) 0:00:26.703 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:05:40 -0400 (0:00:00.064) 0:00:26.767 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:05:40 -0400 (0:00:00.063) 0:00:26.831 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:05:40 -0400 (0:00:00.045) 0:00:26.877 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 August 2024 17:05:41 -0400 (0:00:00.388) 0:00:27.266 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 14 August 2024 17:05:41 -0400 (0:00:00.047) 0:00:27.313 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 17:05:41 -0400 (0:00:00.093) 0:00:27.407 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 17:05:41 -0400 (0:00:00.060) 0:00:27.468 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 17:05:41 -0400 (0:00:00.412) 0:00:27.881 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 August 2024 17:05:41 -0400 (0:00:00.061) 0:00:27.942 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 17:05:42 -0400 (0:00:00.161) 0:00:28.103 ****** ok: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 17:05:42 -0400 (0:00:00.066) 0:00:28.170 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723669540.4062593, "block_size": 4096, "blocks": 8, "ctime": 1723669540.4062593, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723669540.4062593, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 17:05:42 -0400 (0:00:00.451) 0:00:28.622 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 17:05:42 -0400 (0:00:00.062) 0:00:28.684 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019743", "end": "2024-08-14 17:05:42.957342", "rc": 1, "start": "2024-08-14 17:05:42.937599" } 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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 17:05:43 -0400 (0:00:00.437) 0:00:29.122 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 17:05:43 -0400 (0:00:00.038) 0:00:29.161 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002966", "end": "2024-08-14 17:05:43.392899", "rc": 0, "start": "2024-08-14 17:05:43.389933" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 17:05:43 -0400 (0:00:00.421) 0:00:29.583 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 17:05:43 -0400 (0:00:00.067) 0:00:29.651 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003367", "end": "2024-08-14 17:05:43.925669", "rc": 0, "start": "2024-08-14 17:05:43.922302" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 17:05:44 -0400 (0:00:00.474) 0:00:30.125 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 August 2024 17:05:44 -0400 (0:00:00.075) 0:00:30.201 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 August 2024 17:05:44 -0400 (0:00:00.071) 0:00:30.272 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 August 2024 17:05:44 -0400 (0:00:00.053) 0:00:30.325 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 14 August 2024 17:05:44 -0400 (0:00:00.119) 0:00:30.445 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 14 August 2024 17:05:44 -0400 (0:00:00.059) 0:00:30.505 ****** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 14 August 2024 17:05:44 -0400 (0:00:00.093) 0:00:30.599 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 August 2024 17:05:44 -0400 (0:00:00.136) 0:00:30.735 ****** fatal: [managed_node3]: 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.038429", "end": "2024-08-14 17:05:45.078608", "rc": 1, "start": "2024-08-14 17:05:45.040179" } 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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 14 August 2024 17:05:45 -0400 (0:00:00.512) 0:00:31.248 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 14 August 2024 17:05:45 -0400 (0:00:00.094) 0:00:31.342 ****** ok: [managed_node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 14 August 2024 17:05:45 -0400 (0:00:00.069) 0:00:31.412 ****** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (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_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 14 August 2024 17:05:45 -0400 (0:00:00.115) 0:00:31.527 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 17:05:45 -0400 (0:00:00.117) 0:00:31.645 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 17:05:45 -0400 (0:00:00.074) 0:00:31.719 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003027", "end": "2024-08-14 17:05:45.977691", "rc": 0, "start": "2024-08-14 17:05:45.974664" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 17:05:46 -0400 (0:00:00.459) 0:00:32.179 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 17:05:46 -0400 (0:00:00.054) 0:00:32.233 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 14 August 2024 17:05:46 -0400 (0:00:00.057) 0:00:32.291 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 August 2024 17:05:46 -0400 (0:00:00.104) 0:00:32.396 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:05:46 -0400 (0:00:00.117) 0:00:32.513 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:05:46 -0400 (0:00:00.133) 0:00:32.647 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:05:46 -0400 (0:00:00.125) 0:00:32.772 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:05:46 -0400 (0:00:00.102) 0:00:32.874 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:05:46 -0400 (0:00:00.100) 0:00:32.975 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:05:48 -0400 (0:00:02.035) 0:00:35.010 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:05:50 -0400 (0:00:01.879) 0:00:36.890 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:05:50 -0400 (0:00:00.120) 0:00:37.011 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.123) 0:00:37.135 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.060) 0:00:37.196 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.051) 0:00:37.247 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.071) 0:00:37.319 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.051) 0:00:37.370 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.042) 0:00:37.412 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.077) 0:00:37.490 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.120) 0:00:37.610 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.080) 0:00:37.691 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.133) 0:00:37.825 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.104) 0:00:37.929 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:05:51 -0400 (0:00:00.073) 0:00:38.003 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:05:52 -0400 (0:00:00.685) 0:00:38.688 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmpwetlfd42" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:05:53 -0400 (0:00:00.440) 0:00:39.129 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:05:53 -0400 (0:00:00.605) 0:00:39.734 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:05:53 -0400 (0:00:00.037) 0:00:39.772 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:05:53 -0400 (0:00:00.040) 0:00:39.813 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:05:53 -0400 (0:00:00.040) 0:00:39.853 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:05:53 -0400 (0:00:00.040) 0:00:39.894 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 August 2024 17:05:54 -0400 (0:00:00.403) 0:00:40.298 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 14 August 2024 17:05:54 -0400 (0:00:00.040) 0:00:40.338 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 14 August 2024 17:05:54 -0400 (0:00:00.066) 0:00:40.405 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:05:54 -0400 (0:00:00.073) 0:00:40.478 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:05:54 -0400 (0:00:00.071) 0:00:40.549 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:05:54 -0400 (0:00:00.046) 0:00:40.596 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:05:54 -0400 (0:00:00.038) 0:00:40.634 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:05:54 -0400 (0:00:00.038) 0:00:40.672 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:05:56 -0400 (0:00:01.810) 0:00:42.482 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:05:58 -0400 (0:00:01.641) 0:00:44.124 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.039) 0:00:44.163 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.042) 0:00:44.206 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.062) 0:00:44.269 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.064) 0:00:44.333 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.171) 0:00:44.504 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.071) 0:00:44.575 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.074) 0:00:44.650 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.194) 0:00:44.845 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.047) 0:00:44.892 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.042) 0:00:44.935 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.046) 0:00:44.982 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:05:58 -0400 (0:00:00.056) 0:00:45.039 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:05:59 -0400 (0:00:00.068) 0:00:45.107 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:05:59 -0400 (0:00:00.873) 0:00:45.980 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmphw_s95b5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:06:00 -0400 (0:00:00.435) 0:00:46.416 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:06:01 -0400 (0:00:00.829) 0:00:47.246 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:06:01 -0400 (0:00:00.056) 0:00:47.302 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:06:01 -0400 (0:00:00.059) 0:00:47.362 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:06:01 -0400 (0:00:00.109) 0:00:47.471 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:06:01 -0400 (0:00:00.084) 0:00:47.556 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 14 August 2024 17:06:01 -0400 (0:00:00.452) 0:00:48.008 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 17:06:01 -0400 (0:00:00.076) 0:00:48.084 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 17:06:02 -0400 (0:00:00.073) 0:00:48.157 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723669560.9694889, "block_size": 4096, "blocks": 0, "ctime": 1723669560.9694889, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32376, "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": 1723669560.9694889, "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 17:06:02 -0400 (0:00:00.444) 0:00:48.602 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 August 2024 17:06:02 -0400 (0:00:00.046) 0:00:48.649 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 17:06:02 -0400 (0:00:00.089) 0:00:48.738 ****** ok: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 17:06:02 -0400 (0:00:00.044) 0:00:48.782 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723669560.789002, "block_size": 4096, "blocks": 8, "ctime": 1723669553.5670931, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723669553.5670931, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 17:06:03 -0400 (0:00:00.455) 0:00:49.238 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 17:06:03 -0400 (0:00:00.095) 0:00:49.333 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020331", "end": "2024-08-14 17:06:03.819853", "rc": 1, "start": "2024-08-14 17:06:03.799522" } 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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 17:06:03 -0400 (0:00:00.702) 0:00:50.035 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 17:06:03 -0400 (0:00:00.051) 0:00:50.087 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002892", "end": "2024-08-14 17:06:04.320701", "rc": 0, "start": "2024-08-14 17:06:04.317809" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 17:06:04 -0400 (0:00:00.404) 0:00:50.492 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 17:06:04 -0400 (0:00:00.060) 0:00:50.552 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002880", "end": "2024-08-14 17:06:04.836383", "rc": 0, "start": "2024-08-14 17:06:04.833503" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 17:06:04 -0400 (0:00:00.450) 0:00:51.003 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 August 2024 17:06:04 -0400 (0:00:00.046) 0:00:51.050 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 August 2024 17:06:05 -0400 (0:00:00.046) 0:00:51.096 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 August 2024 17:06:05 -0400 (0:00:00.042) 0:00:51.138 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 14 August 2024 17:06:05 -0400 (0:00:00.039) 0:00:51.177 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 14 August 2024 17:06:05 -0400 (0:00:00.035) 0:00:51.213 ****** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 14 August 2024 17:06:05 -0400 (0:00:00.045) 0:00:51.259 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 August 2024 17:06:05 -0400 (0:00:00.112) 0:00:51.372 ****** ok: [managed_node3] => { "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.051793", "end": "2024-08-14 17:06:05.735893", "rc": 0, "start": "2024-08-14 17:06:05.684100" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 14 August 2024 17:06:05 -0400 (0:00:00.544) 0:00:51.916 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 14 August 2024 17:06:05 -0400 (0:00:00.077) 0:00:51.994 ****** ok: [managed_node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 14 August 2024 17:06:05 -0400 (0:00:00.059) 0:00:52.053 ****** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (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_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 14 August 2024 17:06:06 -0400 (0:00:00.121) 0:00:52.175 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 17:06:06 -0400 (0:00:00.089) 0:00:52.264 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 17:06:06 -0400 (0:00:00.072) 0:00:52.336 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003186", "end": "2024-08-14 17:06:06.560077", "rc": 0, "start": "2024-08-14 17:06:06.556891" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 17:06:06 -0400 (0:00:00.409) 0:00:52.746 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 17:06:06 -0400 (0:00:00.060) 0:00:52.807 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 14 August 2024 17:06:06 -0400 (0:00:00.066) 0:00:52.873 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 August 2024 17:06:06 -0400 (0:00:00.128) 0:00:53.001 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:06:07 -0400 (0:00:00.157) 0:00:53.159 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:06:07 -0400 (0:00:00.131) 0:00:53.290 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:06:07 -0400 (0:00:00.108) 0:00:53.399 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:06:07 -0400 (0:00:00.100) 0:00:53.499 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:06:07 -0400 (0:00:00.066) 0:00:53.565 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:06:09 -0400 (0:00:01.866) 0:00:55.432 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:06:11 -0400 (0:00:01.666) 0:00:57.098 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.071) 0:00:57.170 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.062) 0:00:57.233 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.065) 0:00:57.298 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.061) 0:00:57.360 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.075) 0:00:57.436 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.055) 0:00:57.491 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.047) 0:00:57.538 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.086) 0:00:57.625 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.058) 0:00:57.684 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.054) 0:00:57.739 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.058) 0:00:57.797 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.090) 0:00:57.887 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:06:11 -0400 (0:00:00.047) 0:00:57.934 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:06:12 -0400 (0:00:00.645) 0:00:58.580 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmp9n1upjcj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:06:12 -0400 (0:00:00.419) 0:00:59.000 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:06:13 -0400 (0:00:00.656) 0:00:59.656 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:06:13 -0400 (0:00:00.090) 0:00:59.746 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:06:13 -0400 (0:00:00.075) 0:00:59.822 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:06:13 -0400 (0:00:00.079) 0:00:59.902 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:06:13 -0400 (0:00:00.065) 0:00:59.967 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 August 2024 17:06:14 -0400 (0:00:00.445) 0:01:00.413 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 14 August 2024 17:06:14 -0400 (0:00:00.046) 0:01:00.460 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:06:14 -0400 (0:00:00.136) 0:01:00.596 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:06:14 -0400 (0:00:00.119) 0:01:00.715 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:06:14 -0400 (0:00:00.069) 0:01:00.785 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:06:14 -0400 (0:00:00.063) 0:01:00.849 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:06:14 -0400 (0:00:00.082) 0:01:00.931 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:06:16 -0400 (0:00:01.863) 0:01:02.795 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:06:18 -0400 (0:00:01.696) 0:01:04.492 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.057) 0:01:04.549 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.050) 0:01:04.599 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.037) 0:01:04.637 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.036) 0:01:04.674 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.047) 0:01:04.721 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.037) 0:01:04.758 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.047) 0:01:04.805 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.108) 0:01:04.914 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.060) 0:01:04.975 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:06:18 -0400 (0:00:00.054) 0:01:05.029 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:06:19 -0400 (0:00:00.117) 0:01:05.146 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:06:19 -0400 (0:00:00.082) 0:01:05.229 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:06:19 -0400 (0:00:00.099) 0:01:05.328 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:06:19 -0400 (0:00:00.736) 0:01:06.065 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmpvhvau0ku" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:06:20 -0400 (0:00:00.583) 0:01:06.648 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:06:21 -0400 (0:00:00.870) 0:01:07.519 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:06:21 -0400 (0:00:00.036) 0:01:07.556 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:06:21 -0400 (0:00:00.041) 0:01:07.597 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:06:21 -0400 (0:00:00.040) 0:01:07.638 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:06:21 -0400 (0:00:00.036) 0:01:07.674 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 14 August 2024 17:06:21 -0400 (0:00:00.400) 0:01:08.075 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 14 August 2024 17:06:22 -0400 (0:00:00.098) 0:01:08.173 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:06:22 -0400 (0:00:00.135) 0:01:08.308 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:06:22 -0400 (0:00:00.080) 0:01:08.389 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:06:22 -0400 (0:00:00.047) 0:01:08.436 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:06:22 -0400 (0:00:00.044) 0:01:08.480 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:06:22 -0400 (0:00:00.056) 0:01:08.537 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:06:24 -0400 (0:00:01.871) 0:01:10.408 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:06:25 -0400 (0:00:01.626) 0:01:12.035 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:06:25 -0400 (0:00:00.039) 0:01:12.074 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.035) 0:01:12.110 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.043) 0:01:12.154 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.058) 0:01:12.212 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.115) 0:01:12.327 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.069) 0:01:12.397 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.083) 0:01:12.481 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.134) 0:01:12.615 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.158) 0:01:12.774 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.120) 0:01:12.894 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.072) 0:01:12.966 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.058) 0:01:13.025 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:06:26 -0400 (0:00:00.051) 0:01:13.076 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:06:27 -0400 (0:00:00.632) 0:01:13.709 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmpetysg_ni" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:06:28 -0400 (0:00:00.400) 0:01:14.109 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:06:28 -0400 (0:00:00.589) 0:01:14.698 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:06:28 -0400 (0:00:00.073) 0:01:14.772 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:06:28 -0400 (0:00:00.064) 0:01:14.837 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:06:28 -0400 (0:00:00.097) 0:01:14.934 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:06:28 -0400 (0:00:00.052) 0:01:14.987 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 14 August 2024 17:06:29 -0400 (0:00:00.384) 0:01:15.371 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 17:06:29 -0400 (0:00:00.077) 0:01:15.448 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 17:06:29 -0400 (0:00:00.099) 0:01:15.547 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723669581.262563, "block_size": 4096, "blocks": 0, "ctime": 1723669581.262563, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32507, "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": 1723669581.262563, "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 17:06:29 -0400 (0:00:00.389) 0:01:15.937 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 August 2024 17:06:29 -0400 (0:00:00.053) 0:01:15.990 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 17:06:29 -0400 (0:00:00.066) 0:01:16.057 ****** ok: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 17:06:30 -0400 (0:00:00.053) 0:01:16.111 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 17:06:30 -0400 (0:00:00.451) 0:01:16.562 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 17:06:30 -0400 (0:00:00.063) 0:01:16.625 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019762", "end": "2024-08-14 17:06:30.924005", "rc": 1, "start": "2024-08-14 17:06:30.904243" } 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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 17:06:30 -0400 (0:00:00.460) 0:01:17.086 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.041) 0:01:17.127 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.038) 0:01:17.166 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.039) 0:01:17.206 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.075) 0:01:17.281 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.046) 0:01:17.328 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.066) 0:01:17.395 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.054) 0:01:17.449 ****** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.063) 0:01:17.513 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.109) 0:01:17.622 ****** ok: [managed_node3] => { "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.049815", "end": "2024-08-14 17:06:31.925915", "rc": 0, "start": "2024-08-14 17:06:31.876100" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 14 August 2024 17:06:31 -0400 (0:00:00.468) 0:01:18.090 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 14 August 2024 17:06:32 -0400 (0:00:00.089) 0:01:18.180 ****** ok: [managed_node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 14 August 2024 17:06:32 -0400 (0:00:00.061) 0:01:18.242 ****** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node3] => (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_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 14 August 2024 17:06:32 -0400 (0:00:00.117) 0:01:18.359 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 17:06:32 -0400 (0:00:00.091) 0:01:18.451 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 17:06:32 -0400 (0:00:00.069) 0:01:18.520 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004268", "end": "2024-08-14 17:06:33.779379", "rc": 0, "start": "2024-08-14 17:06:32.775111" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 17:06:33 -0400 (0:00:01.422) 0:01:19.943 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 17:06:33 -0400 (0:00:00.039) 0:01:19.983 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 14 August 2024 17:06:33 -0400 (0:00:00.038) 0:01:20.022 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 August 2024 17:06:34 -0400 (0:00:00.086) 0:01:20.109 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:06:34 -0400 (0:00:00.062) 0:01:20.171 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:06:34 -0400 (0:00:00.071) 0:01:20.242 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:06:34 -0400 (0:00:00.045) 0:01:20.288 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:06:34 -0400 (0:00:00.037) 0:01:20.325 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:06:34 -0400 (0:00:00.070) 0:01:20.396 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:06:36 -0400 (0:00:01.864) 0:01:22.261 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:06:37 -0400 (0:00:01.772) 0:01:24.033 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.064) 0:01:24.098 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.064) 0:01:24.167 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.085) 0:01:24.253 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.047) 0:01:24.301 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.053) 0:01:24.354 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.045) 0:01:24.399 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.043) 0:01:24.443 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.080) 0:01:24.524 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.062) 0:01:24.586 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.102) 0:01:24.689 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.124) 0:01:24.813 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.073) 0:01:24.887 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:06:38 -0400 (0:00:00.050) 0:01:24.937 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:06:39 -0400 (0:00:00.636) 0:01:25.573 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmp7ytdse69" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:06:39 -0400 (0:00:00.504) 0:01:26.077 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:06:40 -0400 (0:00:00.798) 0:01:26.876 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:06:40 -0400 (0:00:00.046) 0:01:26.923 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:06:40 -0400 (0:00:00.043) 0:01:26.967 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:06:40 -0400 (0:00:00.049) 0:01:27.017 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:06:40 -0400 (0:00:00.049) 0:01:27.067 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 August 2024 17:06:41 -0400 (0:00:00.521) 0:01:27.588 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 14 August 2024 17:06:41 -0400 (0:00:00.069) 0:01:27.658 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:06:41 -0400 (0:00:00.104) 0:01:27.763 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:06:41 -0400 (0:00:00.128) 0:01:27.892 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:06:41 -0400 (0:00:00.057) 0:01:27.950 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:06:41 -0400 (0:00:00.048) 0:01:27.998 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:06:41 -0400 (0:00:00.042) 0:01:28.040 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:06:43 -0400 (0:00:01.821) 0:01:29.862 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:06:45 -0400 (0:00:01.685) 0:01:31.547 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:06:45 -0400 (0:00:00.043) 0:01:31.591 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:06:45 -0400 (0:00:00.045) 0:01:31.636 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:06:45 -0400 (0:00:00.052) 0:01:31.689 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:06:45 -0400 (0:00:00.052) 0:01:31.742 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:06:45 -0400 (0:00:00.115) 0:01:31.857 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:06:45 -0400 (0:00:00.042) 0:01:31.900 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:06:45 -0400 (0:00:00.048) 0:01:31.948 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:06:45 -0400 (0:00:00.086) 0:01:32.035 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:06:45 -0400 (0:00:00.037) 0:01:32.072 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:06:46 -0400 (0:00:00.037) 0:01:32.110 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:06:46 -0400 (0:00:00.043) 0:01:32.153 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:06:46 -0400 (0:00:00.038) 0:01:32.191 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:06:46 -0400 (0:00:00.036) 0:01:32.227 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:06:46 -0400 (0:00:00.602) 0:01:32.830 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmpc8unrf26" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:06:47 -0400 (0:00:00.477) 0:01:33.308 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:06:48 -0400 (0:00:00.993) 0:01:34.301 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:06:48 -0400 (0:00:00.056) 0:01:34.357 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:06:48 -0400 (0:00:00.066) 0:01:34.424 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:06:48 -0400 (0:00:00.063) 0:01:34.487 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:06:48 -0400 (0:00:00.057) 0:01:34.545 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 14 August 2024 17:06:48 -0400 (0:00:00.435) 0:01:34.980 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:06:48 -0400 (0:00:00.061) 0:01:35.042 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:06:49 -0400 (0:00:00.081) 0:01:35.123 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:06:49 -0400 (0:00:00.072) 0:01:35.196 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:06:49 -0400 (0:00:00.056) 0:01:35.252 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:06:49 -0400 (0:00:00.051) 0:01:35.304 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:06:51 -0400 (0:00:01.835) 0:01:37.139 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:06:52 -0400 (0:00:01.567) 0:01:38.706 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:06:52 -0400 (0:00:00.039) 0:01:38.745 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:06:52 -0400 (0:00:00.047) 0:01:38.793 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:06:52 -0400 (0:00:00.037) 0:01:38.830 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:06:52 -0400 (0:00:00.072) 0:01:38.903 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:06:52 -0400 (0:00:00.045) 0:01:38.948 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:06:52 -0400 (0:00:00.036) 0:01:38.985 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:06:52 -0400 (0:00:00.043) 0:01:39.028 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:06:53 -0400 (0:00:00.108) 0:01:39.136 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:06:53 -0400 (0:00:00.148) 0:01:39.285 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:06:53 -0400 (0:00:00.110) 0:01:39.395 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:06:53 -0400 (0:00:00.070) 0:01:39.465 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:06:53 -0400 (0:00:00.081) 0:01:39.547 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:06:53 -0400 (0:00:00.090) 0:01:39.637 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:06:54 -0400 (0:00:00.854) 0:01:40.492 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmp2gt6ctww" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:06:54 -0400 (0:00:00.491) 0:01:40.983 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:06:55 -0400 (0:00:00.648) 0:01:41.631 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:06:55 -0400 (0:00:00.144) 0:01:41.776 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:06:55 -0400 (0:00:00.082) 0:01:41.858 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:06:55 -0400 (0:00:00.137) 0:01:41.996 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:06:55 -0400 (0:00:00.059) 0:01:42.056 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 14 August 2024 17:06:56 -0400 (0:00:00.517) 0:01:42.574 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 August 2024 17:06:56 -0400 (0:00:00.120) 0:01:42.694 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:06:56 -0400 (0:00:00.126) 0:01:42.821 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:06:56 -0400 (0:00:00.114) 0:01:42.936 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:06:56 -0400 (0:00:00.078) 0:01:43.014 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:06:57 -0400 (0:00:00.086) 0:01:43.101 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:06:57 -0400 (0:00:00.044) 0:01:43.146 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:06:58 -0400 (0:00:01.801) 0:01:44.948 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:07:00 -0400 (0:00:01.662) 0:01:46.610 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:07:00 -0400 (0:00:00.059) 0:01:46.670 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:07:00 -0400 (0:00:00.058) 0:01:46.728 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:07:00 -0400 (0:00:00.099) 0:01:46.828 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:07:00 -0400 (0:00:00.045) 0:01:46.873 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:07:00 -0400 (0:00:00.054) 0:01:46.928 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:07:00 -0400 (0:00:00.046) 0:01:46.975 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:07:00 -0400 (0:00:00.042) 0:01:47.017 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:07:00 -0400 (0:00:00.071) 0:01:47.089 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:07:01 -0400 (0:00:00.037) 0:01:47.126 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:07:01 -0400 (0:00:00.045) 0:01:47.171 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:07:01 -0400 (0:00:00.047) 0:01:47.218 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:07:01 -0400 (0:00:00.044) 0:01:47.263 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:07:01 -0400 (0:00:00.051) 0:01:47.314 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:07:01 -0400 (0:00:00.632) 0:01:47.947 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmp0q4c0ujp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:07:02 -0400 (0:00:00.431) 0:01:48.378 ****** ok: [managed_node3] => { "_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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:07:02 -0400 (0:00:00.619) 0:01:48.998 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:07:02 -0400 (0:00:00.064) 0:01:49.062 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:07:03 -0400 (0:00:00.061) 0:01:49.124 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:07:03 -0400 (0:00:00.049) 0:01:49.174 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:07:03 -0400 (0:00:00.043) 0:01:49.217 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 14 August 2024 17:07:03 -0400 (0:00:00.406) 0:01:49.624 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 August 2024 17:07:03 -0400 (0:00:00.068) 0:01:49.692 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 17:07:03 -0400 (0:00:00.064) 0:01:49.756 ****** ok: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 17:07:03 -0400 (0:00:00.038) 0:01:49.795 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.395) 0:01:50.190 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.070) 0:01:50.261 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020767", "end": "2024-08-14 17:07:04.518530", "rc": 1, "start": "2024-08-14 17:07:04.497763" } 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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.428) 0:01:50.689 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.068) 0:01:50.758 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.048) 0:01:50.806 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.047) 0:01:50.853 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.049) 0:01:50.903 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.048) 0:01:50.951 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.040) 0:01:50.992 ****** skipping: [managed_node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.043) 0:01:51.035 ****** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 14 August 2024 17:07:04 -0400 (0:00:00.038) 0:01:51.074 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 August 2024 17:07:05 -0400 (0:00:00.068) 0:01:51.142 ****** ok: [managed_node3] => { "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.046094", "end": "2024-08-14 17:07:05.426266", "rc": 0, "start": "2024-08-14 17:07:05.380172" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 14 August 2024 17:07:05 -0400 (0:00:00.452) 0:01:51.595 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 14 August 2024 17:07:05 -0400 (0:00:00.103) 0:01:51.698 ****** ok: [managed_node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 14 August 2024 17:07:05 -0400 (0:00:00.039) 0:01:51.738 ****** ok: [managed_node3] => (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_node3] => (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_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 14 August 2024 17:07:05 -0400 (0:00:00.081) 0:01:51.819 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 17:07:05 -0400 (0:00:00.058) 0:01:51.877 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 17:07:05 -0400 (0:00:00.057) 0:01:51.935 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003211", "end": "2024-08-14 17:07:06.173759", "rc": 0, "start": "2024-08-14 17:07:06.170548" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 17:07:06 -0400 (0:00:00.471) 0:01:52.407 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 17:07:06 -0400 (0:00:00.076) 0:01:52.484 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 14 August 2024 17:07:06 -0400 (0:00:00.065) 0:01:52.550 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 August 2024 17:07:06 -0400 (0:00:00.140) 0:01:52.690 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:07:06 -0400 (0:00:00.107) 0:01:52.797 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:07:06 -0400 (0:00:00.168) 0:01:52.966 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:07:06 -0400 (0:00:00.070) 0:01:53.036 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:07:07 -0400 (0:00:00.061) 0:01:53.098 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:07:07 -0400 (0:00:00.046) 0:01:53.145 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:07:08 -0400 (0:00:01.827) 0:01:54.972 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:07:10 -0400 (0:00:01.724) 0:01:56.697 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:07:10 -0400 (0:00:00.070) 0:01:56.767 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:07:10 -0400 (0:00:00.074) 0:01:56.841 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:07:10 -0400 (0:00:00.062) 0:01:56.904 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:07:10 -0400 (0:00:00.081) 0:01:56.986 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:07:10 -0400 (0:00:00.076) 0:01:57.062 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:07:11 -0400 (0:00:00.063) 0:01:57.125 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:07:11 -0400 (0:00:00.067) 0:01:57.193 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:07:11 -0400 (0:00:00.092) 0:01:57.285 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:07:11 -0400 (0:00:00.048) 0:01:57.333 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:07:11 -0400 (0:00:00.042) 0:01:57.376 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:07:11 -0400 (0:00:00.050) 0:01:57.427 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:07:11 -0400 (0:00:00.045) 0:01:57.472 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:07:11 -0400 (0:00:00.061) 0:01:57.534 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:07:12 -0400 (0:00:00.710) 0:01:58.245 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmpg1vnnt4n" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:07:12 -0400 (0:00:00.645) 0:01:58.891 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:07:13 -0400 (0:00:00.635) 0:01:59.527 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:07:13 -0400 (0:00:00.056) 0:01:59.583 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:07:13 -0400 (0:00:00.066) 0:01:59.650 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:07:13 -0400 (0:00:00.072) 0:01:59.722 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:07:13 -0400 (0:00:00.071) 0:01:59.793 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 August 2024 17:07:14 -0400 (0:00:00.445) 0:02:00.238 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 14 August 2024 17:07:14 -0400 (0:00:00.050) 0:02:00.289 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:07:14 -0400 (0:00:00.099) 0:02:00.388 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:07:14 -0400 (0:00:00.115) 0:02:00.504 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:07:14 -0400 (0:00:00.073) 0:02:00.577 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:07:14 -0400 (0:00:00.057) 0:02:00.634 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:07:14 -0400 (0:00:00.127) 0:02:00.762 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:07:16 -0400 (0:00:01.923) 0:02:02.686 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:07:18 -0400 (0:00:01.805) 0:02:04.492 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:07:18 -0400 (0:00:00.062) 0:02:04.554 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:07:18 -0400 (0:00:00.122) 0:02:04.677 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:07:18 -0400 (0:00:00.071) 0:02:04.748 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:07:18 -0400 (0:00:00.044) 0:02:04.793 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:07:18 -0400 (0:00:00.052) 0:02:04.845 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:07:18 -0400 (0:00:00.045) 0:02:04.890 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:07:18 -0400 (0:00:00.047) 0:02:04.938 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:07:18 -0400 (0:00:00.081) 0:02:05.020 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:07:18 -0400 (0:00:00.040) 0:02:05.060 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:07:19 -0400 (0:00:00.044) 0:02:05.105 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:07:19 -0400 (0:00:00.069) 0:02:05.174 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:07:19 -0400 (0:00:00.060) 0:02:05.235 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:07:19 -0400 (0:00:00.065) 0:02:05.300 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:07:19 -0400 (0:00:00.633) 0:02:05.934 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmpm23mr8q_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:07:20 -0400 (0:00:00.453) 0:02:06.387 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:07:21 -0400 (0:00:00.869) 0:02:07.257 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:07:21 -0400 (0:00:00.060) 0:02:07.317 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:07:21 -0400 (0:00:00.073) 0:02:07.390 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:07:21 -0400 (0:00:00.068) 0:02:07.459 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:07:21 -0400 (0:00:00.057) 0:02:07.517 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 August 2024 17:07:21 -0400 (0:00:00.440) 0:02:07.957 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:07:21 -0400 (0:00:00.074) 0:02:08.031 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:07:22 -0400 (0:00:00.087) 0:02:08.119 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:07:22 -0400 (0:00:00.069) 0:02:08.188 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:07:22 -0400 (0:00:00.042) 0:02:08.231 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:07:22 -0400 (0:00:00.037) 0:02:08.268 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:07:24 -0400 (0:00:01.975) 0:02:10.243 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:07:25 -0400 (0:00:01.655) 0:02:11.899 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:07:25 -0400 (0:00:00.050) 0:02:11.949 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:07:25 -0400 (0:00:00.044) 0:02:11.993 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:07:25 -0400 (0:00:00.038) 0:02:12.032 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.076) 0:02:12.108 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.044) 0:02:12.153 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.046) 0:02:12.199 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.047) 0:02:12.247 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.073) 0:02:12.320 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.036) 0:02:12.357 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.037) 0:02:12.394 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.043) 0:02:12.438 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.037) 0:02:12.475 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.038) 0:02:12.514 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:07:26 -0400 (0:00:00.575) 0:02:13.090 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmpaw_xgrfm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:07:27 -0400 (0:00:00.427) 0:02:13.517 ****** changed: [managed_node3] => { "_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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.587) 0:02:14.105 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.037) 0:02:14.142 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.040) 0:02:14.183 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.042) 0:02:14.225 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.049) 0:02:14.275 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.387) 0:02:14.662 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.091) 0:02:14.754 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.121) 0:02:14.876 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.114) 0:02:14.990 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:07:28 -0400 (0:00:00.071) 0:02:15.062 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:07:29 -0400 (0:00:00.064) 0:02:15.127 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:07:29 -0400 (0:00:00.150) 0:02:15.277 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:07:31 -0400 (0:00:01.865) 0:02:17.142 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:07:32 -0400 (0:00:01.578) 0:02:18.721 ****** ok: [managed_node3] => {} MSG: Using network provider: initscripts 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:07:32 -0400 (0:00:00.039) 0:02:18.761 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:07:32 -0400 (0:00:00.069) 0:02:18.831 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:07:32 -0400 (0:00:00.038) 0:02:18.869 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:07:32 -0400 (0:00:00.037) 0:02:18.906 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:07:32 -0400 (0:00:00.049) 0:02:18.956 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:07:32 -0400 (0:00:00.038) 0:02:18.994 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:07:32 -0400 (0:00:00.043) 0:02:19.038 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:07:33 -0400 (0:00:00.074) 0:02:19.113 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:07:33 -0400 (0:00:00.038) 0:02:19.151 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:07:33 -0400 (0:00:00.038) 0:02:19.190 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:07:33 -0400 (0:00:00.043) 0:02:19.234 ****** skipping: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:07:33 -0400 (0:00:00.045) 0:02:19.279 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:07:33 -0400 (0:00:00.059) 0:02:19.339 ****** ok: [managed_node3] => { "censored": "the output 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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:07:33 -0400 (0:00:00.604) 0:02:19.944 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-45324uim4bi8p/tmp13kz1gnh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:07:34 -0400 (0:00:00.470) 0:02:20.414 ****** ok: [managed_node3] => { "_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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:07:34 -0400 (0:00:00.579) 0:02:20.993 ****** skipping: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:07:34 -0400 (0:00:00.059) 0:02:21.053 ****** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:07:35 -0400 (0:00:00.077) 0:02:21.131 ****** ok: [managed_node3] => { "__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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:07:35 -0400 (0:00:00.078) 0:02:21.209 ****** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:07:35 -0400 (0:00:00.076) 0:02:21.286 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 14 August 2024 17:07:35 -0400 (0:00:00.456) 0:02:21.742 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 August 2024 17:07:35 -0400 (0:00:00.100) 0:02:21.843 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 17:07:35 -0400 (0:00:00.074) 0:02:21.917 ****** ok: [managed_node3] => { "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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 17:07:35 -0400 (0:00:00.049) 0:02:21.967 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 17:07:36 -0400 (0:00:00.484) 0:02:22.451 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 17:07:36 -0400 (0:00:00.037) 0:02:22.489 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020438", "end": "2024-08-14 17:07:36.744945", "rc": 1, "start": "2024-08-14 17:07:36.724507" } 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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 17:07:36 -0400 (0:00:00.429) 0:02:22.919 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 17:07:36 -0400 (0:00:00.044) 0:02:22.963 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 17:07:36 -0400 (0:00:00.051) 0:02:23.015 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 17:07:36 -0400 (0:00:00.046) 0:02:23.061 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 17:07:37 -0400 (0:00:00.039) 0:02:23.101 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 August 2024 17:07:37 -0400 (0:00:00.041) 0:02:23.142 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 August 2024 17:07:37 -0400 (0:00:00.042) 0:02:23.185 ****** [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_node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.978633", "end": "2024-08-14 17:07:38.441128", "rc": 0, "start": "2024-08-14 17:07:37.462495" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 August 2024 17:07:38 -0400 (0:00:01.439) 0:02:24.624 ****** ok: [managed_node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 August 2024 17:07:38 -0400 (0:00:00.049) 0:02:24.674 ****** ok: [managed_node3] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 14 August 2024 17:07:38 -0400 (0:00:00.087) 0:02:24.761 ****** skipping: [managed_node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 14 August 2024 17:07:38 -0400 (0:00:00.047) 0:02:24.808 ****** ok: [managed_node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 14 August 2024 17:07:38 -0400 (0:00:00.041) 0:02:24.849 ****** included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 included: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 August 2024 17:07:38 -0400 (0:00:00.080) 0:02:24.930 ****** ok: [managed_node3] => { "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.049941", "end": "2024-08-14 17:07:39.209895", "rc": 0, "start": "2024-08-14 17:07:39.159954" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 August 2024 17:07:39 -0400 (0:00:00.468) 0:02:25.398 ****** ok: [managed_node3] => { "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.009069", "end": "2024-08-14 17:07:39.716789", "rc": 0, "start": "2024-08-14 17:07:39.707720" } 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 0a:ff:ff:c7:38:df brd ff:ff:ff:ff:ff:ff inet 10.31.12.77/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2447sec preferred_lft 2447sec inet6 fe80::8ff:ffff:fec7:38df/64 scope link valid_lft forever preferred_lft forever 41: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 52:33:42:4d:74:05 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.77 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.77 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 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-Cnc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 August 2024 17:07:39 -0400 (0:00:00.511) 0:02:25.910 ****** ok: [managed_node3] => { "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.127353", "end": "2024-08-14 17:07:40.374065", "rc": 0, "start": "2024-08-14 17:07:40.246712" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.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: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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10166 0 --:--:-- --:--:-- --:--:-- 10166 % 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 4041 0 --:--:-- --:--:-- --:--:-- 4041 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node3 : ok=336 changed=13 unreachable=0 failed=0 skipped=287 rescued=0 ignored=10 Wednesday 14 August 2024 17:07:40 -0400 (0:00:00.632) 0:02:26.543 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.88s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-Cnc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26