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-qHD/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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 07 September 2024 08:49:32 -0400 (0:00:00.028) 0:00:00.028 **** ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 07 September 2024 08:49:33 -0400 (0:00:00.986) 0:00:01.015 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 07 September 2024 08:49:33 -0400 (0:00:00.039) 0:00:01.055 **** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 07 September 2024 08:49:34 -0400 (0:00:00.516) 0:00:01.571 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 07 September 2024 08:49:34 -0400 (0:00:00.490) 0:00:02.062 **** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 07 September 2024 08:49:34 -0400 (0:00:00.036) 0:00:02.098 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 07 September 2024 08:49:34 -0400 (0:00:00.033) 0:00:02.132 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 07 September 2024 08:49:34 -0400 (0:00:00.076) 0:00:02.209 **** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 07 September 2024 08:49:35 -0400 (0:00:00.443) 0:00:02.652 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 07 September 2024 08:49:35 -0400 (0:00:00.017) 0:00:02.670 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 07 September 2024 08:49:35 -0400 (0:00:00.017) 0:00:02.687 **** [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_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.216731", "end": "2024-09-07 08:49:35.876536", "rc": 0, "start": "2024-09-07 08:49:35.659805" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 07 September 2024 08:49:35 -0400 (0:00:00.533) 0:00:03.220 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 07 September 2024 08:49:35 -0400 (0:00:00.016) 0:00:03.237 **** ok: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 07 September 2024 08:49:35 -0400 (0:00:00.016) 0:00:03.253 **** ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 07 September 2024 08:49:36 -0400 (0:00:00.594) 0:00:03.847 **** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 07 September 2024 08:49:36 -0400 (0:00:00.021) 0:00:03.869 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:49:36 -0400 (0:00:00.030) 0:00:03.900 **** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:49:36 -0400 (0:00:00.027) 0:00:03.928 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:49:36 -0400 (0:00:00.080) 0:00:04.009 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:49:36 -0400 (0:00:00.026) 0:00:04.035 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:49:36 -0400 (0:00:00.023) 0:00:04.058 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002654", "end": "2024-09-07 08:49:37.034625", "rc": 0, "start": "2024-09-07 08:49:37.031971" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:49:37 -0400 (0:00:00.323) 0:00:04.382 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:49:37 -0400 (0:00:00.020) 0:00:04.402 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:49:37 -0400 (0:00:00.022) 0:00:04.425 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 September 2024 08:49:37 -0400 (0:00:00.038) 0:00:04.463 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006936", "end": "2024-09-07 08:49:37.447022", "rc": 1, "start": "2024-09-07 08:49:37.440086" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:49:37 -0400 (0:00:00.332) 0:00:04.796 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:49:37 -0400 (0:00:00.028) 0:00:04.824 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:49:37 -0400 (0:00:00.315) 0:00:05.140 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:49:37 -0400 (0:00:00.026) 0:00:05.167 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:49:37 -0400 (0:00:00.033) 0:00:05.201 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:49:38 -0400 (0:00:00.103) 0:00:05.304 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:49:38 -0400 (0:00:00.035) 0:00:05.340 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:49:38 -0400 (0:00:00.018) 0:00:05.359 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:49:38 -0400 (0:00:00.016) 0:00:05.376 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:49:38 -0400 (0:00:00.016) 0:00:05.392 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:49:39 -0400 (0:00:01.691) 0:00:07.084 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:49:41 -0400 (0:00:01.643) 0:00:08.728 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.036) 0:00:08.764 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.034) 0:00:08.799 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.034) 0:00:08.833 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.034) 0:00:08.867 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.041) 0:00:08.909 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.034) 0:00:08.944 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.039) 0:00:08.983 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.068) 0:00:09.051 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.059) 0:00:09.110 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.035) 0:00:09.146 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.040) 0:00:09.186 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.035) 0:00:09.222 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:49:41 -0400 (0:00:00.033) 0:00:09.256 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:49:42 -0400 (0:00:00.906) 0:00:10.162 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmp05_qn7jz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:49:43 -0400 (0:00:00.467) 0:00:10.630 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:49:44 -0400 (0:00:00.724) 0:00:11.354 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:49:44 -0400 (0:00:00.060) 0:00:11.415 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:49:44 -0400 (0:00:00.062) 0:00:11.477 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:49:44 -0400 (0:00:00.087) 0:00:11.565 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:49:44 -0400 (0:00:00.064) 0:00:11.630 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:49:45 -0400 (0:00:00.770) 0:00:12.400 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:49:45 -0400 (0:00:00.058) 0:00:12.458 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 September 2024 08:49:45 -0400 (0:00:00.142) 0:00:12.601 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:49:45 -0400 (0:00:00.103) 0:00:12.705 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:49:45 -0400 (0:00:00.095) 0:00:12.800 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713383.9713295, "block_size": 4096, "blocks": 8, "ctime": 1725713383.9713295, "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": 1725713383.9713295, "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:49:45 -0400 (0:00:00.477) 0:00:13.278 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:49:46 -0400 (0:00:00.037) 0:00:13.315 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016808", "end": "2024-09-07 08:49:46.327209", "rc": 1, "start": "2024-09-07 08:49:46.310401" } 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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:49:46 -0400 (0:00:00.382) 0:00:13.698 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:49:46 -0400 (0:00:00.049) 0:00:13.747 **** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003841", "end": "2024-09-07 08:49:47.846898", "rc": 0, "start": "2024-09-07 08:49:46.843057" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:49:47 -0400 (0:00:01.481) 0:00:15.229 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:49:47 -0400 (0:00:00.049) 0:00:15.279 **** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003791", "end": "2024-09-07 08:49:49.264808", "rc": 0, "start": "2024-09-07 08:49:48.261017" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:49:49 -0400 (0:00:01.366) 0:00:16.645 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 September 2024 08:49:49 -0400 (0:00:00.048) 0:00:16.694 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 September 2024 08:49:49 -0400 (0:00:00.045) 0:00:16.739 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 September 2024 08:49:49 -0400 (0:00:00.046) 0:00:16.786 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:49:49 -0400 (0:00:00.042) 0:00:16.828 **** skipping: [managed_node1] => (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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:49:49 -0400 (0:00:00.039) 0:00:16.868 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:49:49 -0400 (0:00:00.037) 0:00:16.905 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:49:49 -0400 (0:00:00.066) 0:00:16.972 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033151", "end": "2024-09-07 08:49:50.013403", "rc": 1, "start": "2024-09-07 08:49:49.980252" } 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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 07 September 2024 08:49:50 -0400 (0:00:00.399) 0:00:17.371 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:49:50 -0400 (0:00:00.068) 0:00:17.440 **** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:49:50 -0400 (0:00:00.060) 0:00:17.501 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:49:50 -0400 (0:00:00.198) 0:00:17.699 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:49:50 -0400 (0:00:00.147) 0:00:17.847 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:49:50 -0400 (0:00:00.135) 0:00:17.983 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002784", "end": "2024-09-07 08:49:51.161940", "rc": 0, "start": "2024-09-07 08:49:51.159156" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:49:51 -0400 (0:00:00.560) 0:00:18.543 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:49:51 -0400 (0:00:00.056) 0:00:18.599 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:49:51 -0400 (0:00:00.066) 0:00:18.665 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 September 2024 08:49:51 -0400 (0:00:00.111) 0:00:18.776 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005099", "end": "2024-09-07 08:49:51.781718", "rc": 1, "start": "2024-09-07 08:49:51.776619" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:49:51 -0400 (0:00:00.389) 0:00:19.166 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:49:51 -0400 (0:00:00.071) 0:00:19.237 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:49:52 -0400 (0:00:00.437) 0:00:19.675 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:49:52 -0400 (0:00:00.055) 0:00:19.730 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 07 September 2024 08:49:52 -0400 (0:00:00.116) 0:00:19.847 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:49:52 -0400 (0:00:00.100) 0:00:19.947 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:49:52 -0400 (0:00:00.084) 0:00:20.032 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:49:52 -0400 (0:00:00.045) 0:00:20.077 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:49:52 -0400 (0:00:00.034) 0:00:20.112 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:49:52 -0400 (0:00:00.034) 0:00:20.147 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:49:54 -0400 (0:00:01.542) 0:00:21.689 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:49:55 -0400 (0:00:01.421) 0:00:23.110 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:49:55 -0400 (0:00:00.059) 0:00:23.169 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:49:55 -0400 (0:00:00.054) 0:00:23.224 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:49:55 -0400 (0:00:00.053) 0:00:23.278 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.087) 0:00:23.365 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.064) 0:00:23.430 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.042) 0:00:23.472 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.047) 0:00:23.520 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.080) 0:00:23.601 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.040) 0:00:23.641 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.035) 0:00:23.676 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.039) 0:00:23.716 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.034) 0:00:23.751 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:49:56 -0400 (0:00:00.034) 0:00:23.785 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:49:57 -0400 (0:00:00.581) 0:00:24.366 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmp9epq08gw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:49:57 -0400 (0:00:00.357) 0:00:24.724 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:49:57 -0400 (0:00:00.524) 0:00:25.248 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:49:58 -0400 (0:00:00.082) 0:00:25.330 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:49:58 -0400 (0:00:00.065) 0:00:25.395 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:49:58 -0400 (0:00:00.078) 0:00:25.474 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:49:58 -0400 (0:00:00.057) 0:00:25.532 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 07 September 2024 08:49:58 -0400 (0:00:00.415) 0:00:25.948 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:49:58 -0400 (0:00:00.063) 0:00:26.011 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:49:58 -0400 (0:00:00.200) 0:00:26.211 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:49:59 -0400 (0:00:00.107) 0:00:26.319 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:49:59 -0400 (0:00:00.393) 0:00:26.712 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 September 2024 08:49:59 -0400 (0:00:00.045) 0:00:26.758 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:49:59 -0400 (0:00:00.075) 0:00:26.834 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:49:59 -0400 (0:00:00.057) 0:00:26.891 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713397.8853662, "block_size": 4096, "blocks": 8, "ctime": 1725713397.8853662, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725713397.8853662, "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:50:00 -0400 (0:00:00.485) 0:00:27.377 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:50:00 -0400 (0:00:00.053) 0:00:27.430 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017314", "end": "2024-09-07 08:50:00.507321", "rc": 1, "start": "2024-09-07 08:50:00.490007" } 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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:50:00 -0400 (0:00:00.461) 0:00:27.892 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:50:00 -0400 (0:00:00.062) 0:00:27.954 **** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003676", "end": "2024-09-07 08:50:01.956517", "rc": 0, "start": "2024-09-07 08:50:00.952841" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:50:02 -0400 (0:00:01.389) 0:00:29.344 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:50:02 -0400 (0:00:00.063) 0:00:29.408 **** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002761", "end": "2024-09-07 08:50:02.441070", "rc": 0, "start": "2024-09-07 08:50:02.438309" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:50:02 -0400 (0:00:00.395) 0:00:29.803 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 September 2024 08:50:02 -0400 (0:00:00.044) 0:00:29.848 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 September 2024 08:50:02 -0400 (0:00:00.069) 0:00:29.918 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 September 2024 08:50:02 -0400 (0:00:00.040) 0:00:29.958 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:50:02 -0400 (0:00:00.042) 0:00:30.000 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:50:02 -0400 (0:00:00.035) 0:00:30.036 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:50:02 -0400 (0:00:00.047) 0:00:30.084 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:50:02 -0400 (0:00:00.110) 0:00:30.194 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.032911", "end": "2024-09-07 08:50:03.264703", "rc": 1, "start": "2024-09-07 08:50:03.231792" } 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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 07 September 2024 08:50:03 -0400 (0:00:00.462) 0:00:30.657 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:50:03 -0400 (0:00:00.100) 0:00:30.757 **** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:50:03 -0400 (0:00:00.056) 0:00:30.814 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:50:03 -0400 (0:00:00.119) 0:00:30.933 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:50:03 -0400 (0:00:00.095) 0:00:31.029 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:50:03 -0400 (0:00:00.142) 0:00:31.171 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003002", "end": "2024-09-07 08:50:04.214881", "rc": 0, "start": "2024-09-07 08:50:04.211879" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.423) 0:00:31.594 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.054) 0:00:31.649 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.038) 0:00:31.687 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.066) 0:00:31.754 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.060) 0:00:31.814 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.078) 0:00:31.893 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.087) 0:00:31.980 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.079) 0:00:32.059 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.060) 0:00:32.120 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:06 -0400 (0:00:01.633) 0:00:33.754 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:07 -0400 (0:00:01.524) 0:00:35.278 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.060) 0:00:35.339 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.055) 0:00:35.394 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.064) 0:00:35.458 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.077) 0:00:35.536 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.078) 0:00:35.614 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.116) 0:00:35.731 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.113) 0:00:35.845 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.197) 0:00:36.043 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.047) 0:00:36.090 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.042) 0:00:36.132 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.045) 0:00:36.178 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.035) 0:00:36.213 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.036) 0:00:36.250 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.618) 0:00:36.869 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmprr_tybep" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.397) 0:00:37.266 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.483) 0:00:37.749 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.041) 0:00:37.791 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.046) 0:00:37.837 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.043) 0:00:37.881 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.046) 0:00:37.927 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.608) 0:00:38.536 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.116) 0:00:38.652 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.122) 0:00:38.775 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.140) 0:00:38.916 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.133) 0:00:39.050 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.070) 0:00:39.120 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.046) 0:00:39.167 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.036) 0:00:39.204 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:13 -0400 (0:00:01.514) 0:00:40.718 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:14 -0400 (0:00:01.430) 0:00:42.149 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.047) 0:00:42.197 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.043) 0:00:42.240 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.036) 0:00:42.276 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.035) 0:00:42.312 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.049) 0:00:42.361 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.054) 0:00:42.416 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.065) 0:00:42.481 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.119) 0:00:42.600 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.049) 0:00:42.649 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.048) 0:00:42.698 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.062) 0:00:42.760 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.057) 0:00:42.818 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.056) 0:00:42.874 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.605) 0:00:43.479 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmpasaoohr_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.419) 0:00:43.899 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.726) 0:00:44.625 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.057) 0:00:44.682 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.050) 0:00:44.732 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.048) 0:00:44.781 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.054) 0:00:44.835 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.352) 0:00:45.187 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.069) 0:00:45.257 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.057) 0:00:45.315 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713417.1675398, "block_size": 4096, "blocks": 0, "ctime": 1725713417.1675398, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33491, "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": 1725713417.1675398, "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.379) 0:00:45.694 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.063) 0:00:45.757 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.087) 0:00:45.845 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.045) 0:00:45.890 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713417.013417, "block_size": 4096, "blocks": 8, "ctime": 1725713410.3793993, "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": 1725713410.3793993, "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.376) 0:00:46.267 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.064) 0:00:46.331 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017516", "end": "2024-09-07 08:50:19.357716", "rc": 1, "start": "2024-09-07 08:50:19.340200" } 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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.421) 0:00:46.752 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.040) 0:00:46.792 **** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002817", "end": "2024-09-07 08:50:19.788670", "rc": 0, "start": "2024-09-07 08:50:19.785853" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.365) 0:00:47.157 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.056) 0:00:47.214 **** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002738", "end": "2024-09-07 08:50:20.232971", "rc": 0, "start": "2024-09-07 08:50:20.230233" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.393) 0:00:47.607 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.065) 0:00:47.673 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.071) 0:00:47.744 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.064) 0:00:47.809 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.064) 0:00:47.873 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.049) 0:00:47.923 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.056) 0:00:47.979 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.102) 0:00:48.082 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043442", "end": "2024-09-07 08:50:21.158332", "rc": 0, "start": "2024-09-07 08:50:21.114890" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.497) 0:00:48.580 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.104) 0:00:48.685 **** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.066) 0:00:48.751 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.120) 0:00:48.871 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.100) 0:00:48.971 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.091) 0:00:49.062 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002801", "end": "2024-09-07 08:50:22.134906", "rc": 0, "start": "2024-09-07 08:50:22.132105" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.523) 0:00:49.586 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.071) 0:00:49.658 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.059) 0:00:49.717 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.185) 0:00:49.903 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.118) 0:00:50.021 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.151) 0:00:50.172 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.093) 0:00:50.266 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:23 -0400 (0:00:00.064) 0:00:50.331 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:23 -0400 (0:00:00.054) 0:00:50.385 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:24 -0400 (0:00:01.566) 0:00:51.952 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:26 -0400 (0:00:01.441) 0:00:53.393 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.089) 0:00:53.483 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.055) 0:00:53.538 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.089) 0:00:53.628 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.071) 0:00:53.699 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.066) 0:00:53.765 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.061) 0:00:53.826 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.070) 0:00:53.897 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.125) 0:00:54.022 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.058) 0:00:54.081 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.055) 0:00:54.136 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.062) 0:00:54.199 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.046) 0:00:54.246 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.047) 0:00:54.293 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.616) 0:00:54.910 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmpyk3j2y94" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:28 -0400 (0:00:00.386) 0:00:55.297 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:28 -0400 (0:00:00.487) 0:00:55.785 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:28 -0400 (0:00:00.063) 0:00:55.848 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:28 -0400 (0:00:00.045) 0:00:55.894 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:28 -0400 (0:00:00.048) 0:00:55.943 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:28 -0400 (0:00:00.043) 0:00:55.987 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:50:29 -0400 (0:00:00.381) 0:00:56.368 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:50:29 -0400 (0:00:00.062) 0:00:56.431 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:29 -0400 (0:00:00.104) 0:00:56.535 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:29 -0400 (0:00:00.118) 0:00:56.654 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:29 -0400 (0:00:00.052) 0:00:56.707 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:29 -0400 (0:00:00.074) 0:00:56.782 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:29 -0400 (0:00:00.038) 0:00:56.821 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:31 -0400 (0:00:01.497) 0:00:58.318 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:32 -0400 (0:00:01.467) 0:00:59.785 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.157) 0:00:59.942 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.074) 0:01:00.017 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.083) 0:01:00.100 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.076) 0:01:00.177 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.065) 0:01:00.243 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.070) 0:01:00.313 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.074) 0:01:00.387 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.110) 0:01:00.498 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.050) 0:01:00.548 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.043) 0:01:00.592 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.065) 0:01:00.658 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.053) 0:01:00.712 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.052) 0:01:00.764 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:34 -0400 (0:00:00.603) 0:01:01.368 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmpqcpo2q2a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:34 -0400 (0:00:00.362) 0:01:01.730 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.826) 0:01:02.557 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.066) 0:01:02.623 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.083) 0:01:02.707 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.063) 0:01:02.771 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.051) 0:01:02.822 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.360) 0:01:03.183 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.098) 0:01:03.282 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.096) 0:01:03.379 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.080) 0:01:03.459 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.048) 0:01:03.508 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.063) 0:01:03.571 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.036) 0:01:03.608 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:37 -0400 (0:00:01.524) 0:01:05.132 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:39 -0400 (0:00:01.469) 0:01:06.601 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.078) 0:01:06.680 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.070) 0:01:06.751 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.060) 0:01:06.811 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.048) 0:01:06.860 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.095) 0:01:06.956 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.077) 0:01:07.034 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.077) 0:01:07.111 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.108) 0:01:07.220 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.038) 0:01:07.259 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.041) 0:01:07.300 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.046) 0:01:07.347 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.039) 0:01:07.387 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.036) 0:01:07.424 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.544) 0:01:07.968 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmpk3u9kfe3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.384) 0:01:08.353 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.495) 0:01:08.849 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.035) 0:01:08.884 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.068) 0:01:08.953 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.039) 0:01:08.992 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.035) 0:01:09.028 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.338) 0:01:09.366 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.074) 0:01:09.441 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.080) 0:01:09.521 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713435.0966923, "block_size": 4096, "blocks": 0, "ctime": 1725713435.0966923, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33622, "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": 1725713435.0966923, "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.385) 0:01:09.907 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.061) 0:01:09.969 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.097) 0:01:10.066 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.056) 0:01:10.122 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.424) 0:01:10.546 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.038) 0:01:10.585 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017218", "end": "2024-09-07 08:50:43.588088", "rc": 1, "start": "2024-09-07 08:50:43.570870" } 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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.397) 0:01:10.983 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.117) 0:01:11.101 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.077) 0:01:11.178 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.104) 0:01:11.283 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.056) 0:01:11.339 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.079) 0:01:11.419 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.062) 0:01:11.482 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.071) 0:01:11.553 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.094) 0:01:11.648 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.112) 0:01:11.760 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040875", "end": "2024-09-07 08:50:44.859116", "rc": 0, "start": "2024-09-07 08:50:44.818241" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.463) 0:01:12.223 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.132) 0:01:12.356 **** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.067) 0:01:12.423 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.194) 0:01:12.618 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.116) 0:01:12.734 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.096) 0:01:12.831 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002880", "end": "2024-09-07 08:50:45.837621", "rc": 0, "start": "2024-09-07 08:50:45.834741" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.391) 0:01:13.223 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.068) 0:01:13.291 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.068) 0:01:13.360 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.212) 0:01:13.573 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.164) 0:01:13.737 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.167) 0:01:13.905 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.056) 0:01:13.962 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.048) 0:01:14.011 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.039) 0:01:14.050 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:48 -0400 (0:00:01.514) 0:01:15.565 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:49 -0400 (0:00:01.567) 0:01:17.132 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.056) 0:01:17.189 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.061) 0:01:17.250 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.057) 0:01:17.308 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.053) 0:01:17.361 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.074) 0:01:17.436 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.066) 0:01:17.502 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.066) 0:01:17.568 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.122) 0:01:17.691 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.054) 0:01:17.745 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.055) 0:01:17.801 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.079) 0:01:17.881 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.062) 0:01:17.943 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.053) 0:01:17.997 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:51 -0400 (0:00:00.557) 0:01:18.554 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmp87qsu7c5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:51 -0400 (0:00:00.407) 0:01:18.962 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.507) 0:01:19.469 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.055) 0:01:19.525 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.046) 0:01:19.571 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.039) 0:01:19.611 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.036) 0:01:19.647 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.404) 0:01:20.051 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.049) 0:01:20.100 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.070) 0:01:20.171 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.067) 0:01:20.239 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.047) 0:01:20.286 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:53 -0400 (0:00:00.042) 0:01:20.329 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:53 -0400 (0:00:00.113) 0:01:20.442 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:54 -0400 (0:00:01.731) 0:01:22.174 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:56 -0400 (0:00:01.465) 0:01:23.639 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.089) 0:01:23.728 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.057) 0:01:23.785 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.093) 0:01:23.879 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.066) 0:01:23.946 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.092) 0:01:24.039 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.055) 0:01:24.094 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.079) 0:01:24.173 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.138) 0:01:24.312 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.063) 0:01:24.376 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.056) 0:01:24.432 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.050) 0:01:24.482 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.049) 0:01:24.532 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.059) 0:01:24.591 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.521) 0:01:25.112 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmp55ayxx5y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.351) 0:01:25.464 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.749) 0:01:26.213 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.058) 0:01:26.272 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.060) 0:01:26.333 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.060) 0:01:26.393 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.044) 0:01:26.438 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.340) 0:01:26.779 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.063) 0:01:26.842 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.069) 0:01:26.912 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.063) 0:01:26.975 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.045) 0:01:27.021 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.058) 0:01:27.079 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:01 -0400 (0:00:01.528) 0:01:28.607 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:02 -0400 (0:00:01.372) 0:01:29.980 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.041) 0:01:30.021 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.036) 0:01:30.058 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.036) 0:01:30.094 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.066) 0:01:30.161 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.043) 0:01:30.204 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.037) 0:01:30.241 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.042) 0:01:30.284 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.069) 0:01:30.354 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.036) 0:01:30.391 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.036) 0:01:30.427 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.039) 0:01:30.467 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.036) 0:01:30.504 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.036) 0:01:30.540 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.507) 0:01:31.048 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmpfiwtkox0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:04 -0400 (0:00:00.355) 0:01:31.403 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:04 -0400 (0:00:00.542) 0:01:31.945 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:04 -0400 (0:00:00.036) 0:01:31.982 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:04 -0400 (0:00:00.036) 0:01:32.019 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:04 -0400 (0:00:00.039) 0:01:32.058 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:04 -0400 (0:00:00.046) 0:01:32.105 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.339) 0:01:32.445 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.081) 0:01:32.526 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.116) 0:01:32.642 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.105) 0:01:32.748 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.078) 0:01:32.826 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.056) 0:01:32.883 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.058) 0:01:32.942 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:07 -0400 (0:00:01.742) 0:01:34.685 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:08 -0400 (0:00:01.425) 0:01:36.110 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:08 -0400 (0:00:00.047) 0:01:36.158 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:08 -0400 (0:00:00.058) 0:01:36.216 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:08 -0400 (0:00:00.052) 0:01:36.269 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.051) 0:01:36.321 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.098) 0:01:36.419 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.045) 0:01:36.464 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.045) 0:01:36.510 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.106) 0:01:36.616 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.052) 0:01:36.669 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.041) 0:01:36.710 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.047) 0:01:36.757 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.034) 0:01:36.791 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.035) 0:01:36.827 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.555) 0:01:37.383 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmpsjvw69n4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.365) 0:01:37.748 **** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.489) 0:01:38.237 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.057) 0:01:38.295 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.107) 0:01:38.403 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.060) 0:01:38.463 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.058) 0:01:38.521 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.524) 0:01:39.046 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.122) 0:01:39.168 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:51:12 -0400 (0:00:00.206) 0:01:39.374 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:51:12 -0400 (0:00:00.092) 0:01:39.467 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:51:12 -0400 (0:00:00.433) 0:01:39.900 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:51:12 -0400 (0:00:00.035) 0:01:39.935 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017480", "end": "2024-09-07 08:51:12.979344", "rc": 1, "start": "2024-09-07 08:51:12.961864" } 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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.422) 0:01:40.357 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.044) 0:01:40.402 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.048) 0:01:40.451 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.099) 0:01:40.550 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.060) 0:01:40.610 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.045) 0:01:40.656 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.048) 0:01:40.704 **** skipping: [managed_node1] => (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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.052) 0:01:40.756 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.051) 0:01:40.808 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.099) 0:01:40.907 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042490", "end": "2024-09-07 08:51:13.967163", "rc": 0, "start": "2024-09-07 08:51:13.924673" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.462) 0:01:41.369 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.102) 0:01:41.471 **** ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.097) 0:01:41.569 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.214) 0:01:41.783 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.176) 0:01:41.960 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.151) 0:01:42.111 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002785", "end": "2024-09-07 08:51:15.151757", "rc": 0, "start": "2024-09-07 08:51:15.148972" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.429) 0:01:42.541 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.069) 0:01:42.611 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.068) 0:01:42.679 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.086) 0:01:42.765 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.072) 0:01:42.838 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.067) 0:01:42.905 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.043) 0:01:42.949 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.039) 0:01:42.989 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.048) 0:01:43.037 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:17 -0400 (0:00:01.578) 0:01:44.615 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:18 -0400 (0:00:01.403) 0:01:46.019 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.039) 0:01:46.058 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.042) 0:01:46.100 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.047) 0:01:46.148 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.067) 0:01:46.216 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.049) 0:01:46.265 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.053) 0:01:46.319 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.138) 0:01:46.458 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.085) 0:01:46.544 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.043) 0:01:46.587 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.035) 0:01:46.623 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.039) 0:01:46.663 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.035) 0:01:46.699 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.035) 0:01:46.734 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.529) 0:01:47.264 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmp9ei9b7nn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.373) 0:01:47.638 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.454) 0:01:48.093 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.034) 0:01:48.127 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.037) 0:01:48.164 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.070) 0:01:48.235 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.035) 0:01:48.270 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.362) 0:01:48.633 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.063) 0:01:48.697 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.101) 0:01:48.798 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.113) 0:01:48.911 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.069) 0:01:48.981 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.056) 0:01:49.038 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.056) 0:01:49.095 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:23 -0400 (0:00:01.586) 0:01:50.681 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:24 -0400 (0:00:01.437) 0:01:52.118 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.044) 0:01:52.163 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.038) 0:01:52.201 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.034) 0:01:52.236 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.034) 0:01:52.270 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.045) 0:01:52.316 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.039) 0:01:52.356 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.052) 0:01:52.408 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.118) 0:01:52.527 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.123) 0:01:52.651 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.042) 0:01:52.693 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.048) 0:01:52.742 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.044) 0:01:52.787 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.039) 0:01:52.827 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:26 -0400 (0:00:00.510) 0:01:53.337 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmpml6piiei" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:26 -0400 (0:00:00.368) 0:01:53.705 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.765) 0:01:54.471 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.060) 0:01:54.531 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.060) 0:01:54.592 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.071) 0:01:54.663 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.065) 0:01:54.728 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.415) 0:01:55.144 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.085) 0:01:55.229 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.079) 0:01:55.309 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.055) 0:01:55.365 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.044) 0:01:55.409 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.050) 0:01:55.460 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:29 -0400 (0:00:01.598) 0:01:57.058 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:31 -0400 (0:00:01.553) 0:01:58.612 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.037) 0:01:58.649 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.033) 0:01:58.683 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.034) 0:01:58.717 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.053) 0:01:58.771 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.052) 0:01:58.823 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.056) 0:01:58.879 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.048) 0:01:58.928 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.083) 0:01:59.012 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.041) 0:01:59.053 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.072) 0:01:59.125 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.040) 0:01:59.165 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.035) 0:01:59.201 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.034) 0:01:59.235 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.493) 0:01:59.729 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmpu_n4hjln" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.344) 0:02:00.074 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.510) 0:02:00.584 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.058) 0:02:00.642 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.059) 0:02:00.702 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.054) 0:02:00.757 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.061) 0:02:00.818 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.427) 0:02:01.245 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 September 2024 08:51:34 -0400 (0:00:00.063) 0:02:01.309 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:34 -0400 (0:00:00.064) 0:02:01.374 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:34 -0400 (0:00:00.097) 0:02:01.471 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:34 -0400 (0:00:00.064) 0:02:01.536 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:34 -0400 (0:00:00.053) 0:02:01.589 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:34 -0400 (0:00:00.060) 0:02:01.650 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:35 -0400 (0:00:01.568) 0:02:03.218 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:37 -0400 (0:00:01.410) 0:02:04.629 **** ok: [managed_node1] => {} 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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.044) 0:02:04.673 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.056) 0:02:04.729 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.046) 0:02:04.776 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.040) 0:02:04.816 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.052) 0:02:04.869 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.042) 0:02:04.911 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.047) 0:02:04.958 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.075) 0:02:05.034 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.033) 0:02:05.068 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.067) 0:02:05.135 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.041) 0:02:05.177 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.035) 0:02:05.212 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.034) 0:02:05.247 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:38 -0400 (0:00:00.492) 0:02:05.739 **** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44334yk5jwrpf/tmpplmhicwr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:38 -0400 (0:00:00.358) 0:02:06.098 **** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.590) 0:02:06.689 **** skipping: [managed_node1] => { "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.089) 0:02:06.779 **** ok: [managed_node1] => { "__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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.070) 0:02:06.850 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.123) 0:02:06.973 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.103) 0:02:07.076 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.376) 0:02:07.453 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.113) 0:02:07.566 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.135) 0:02:07.701 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.096) 0:02:07.798 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.419) 0:02:08.217 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.040) 0:02:08.258 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017590", "end": "2024-09-07 08:51:41.309820", "rc": 1, "start": "2024-09-07 08:51:41.292230" } 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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.492) 0:02:08.751 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.098) 0:02:08.849 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.072) 0:02:08.921 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.052) 0:02:08.973 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.047) 0:02:09.021 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.048) 0:02:09.069 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.045) 0:02:09.115 **** [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_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.843314", "end": "2024-09-07 08:51:42.949067", "rc": 0, "start": "2024-09-07 08:51:42.105753" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 07 September 2024 08:51:43 -0400 (0:00:01.210) 0:02:10.325 **** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.056) 0:02:10.382 **** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.060) 0:02:10.443 **** skipping: [managed_node1] => (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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.075) 0:02:10.518 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.066) 0:02:10.584 **** included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.131) 0:02:10.716 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041394", "end": "2024-09-07 08:51:43.805718", "rc": 0, "start": "2024-09-07 08:51:43.764324" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.453) 0:02:11.170 **** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007685", "end": "2024-09-07 08:51:44.184425", "rc": 0, "start": "2024-09-07 08:51:44.176740" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:fb:09:64:2f:7b brd ff:ff:ff:ff:ff:ff inet 10.31.47.243/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2534sec preferred_lft 2534sec inet6 fe80::fb:9ff:fe64:2f7b/64 scope link valid_lft forever preferred_lft forever 44: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ce:d9:26:d2:24:f7 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.44.1 dev eth0 proto dhcp src 10.31.47.243 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.243 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-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.420) 0:02:11.590 **** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.130716", "end": "2024-09-07 08:51:44.824446", "rc": 0, "start": "2024-09-07 08:51:44.693730" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 3505 0 --:--:-- --:--:-- --:--:-- 3505 % 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 16166 0 --:--:-- --:--:-- --:--:-- 16166 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.594) 0:02:12.185 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get the ansible_managed comment in ifcfg-statebr ------------------------ 1.48s /tmp/collections-qHD/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49