ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Friday 07 February 2025 14:30:48 -0500 (0:00:00.063) 0:00:00.063 ******* ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Friday 07 February 2025 14:30:50 -0500 (0:00:01.548) 0:00:01.612 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 07 February 2025 14:30:50 -0500 (0:00:00.117) 0:00:01.729 ******* ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 07 February 2025 14:30:51 -0500 (0:00:00.511) 0:00:02.241 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 07 February 2025 14:30:51 -0500 (0:00:00.853) 0:00:03.094 ******* ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 07 February 2025 14:30:52 -0500 (0:00:00.076) 0:00:03.171 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 07 February 2025 14:30:52 -0500 (0:00:00.065) 0:00:03.237 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 07 February 2025 14:30:52 -0500 (0:00:00.115) 0:00:03.352 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 07 February 2025 14:30:52 -0500 (0:00:00.552) 0:00:03.904 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 07 February 2025 14:30:53 -0500 (0:00:01.215) 0:00:05.119 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.160976", "end": "2025-02-07 14:30:54.471420", "rc": 0, "start": "2025-02-07 14:30:54.310444" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 07 February 2025 14:30:54 -0500 (0:00:00.560) 0:00:05.680 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 07 February 2025 14:30:54 -0500 (0:00:00.049) 0:00:05.729 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Friday 07 February 2025 14:30:54 -0500 (0:00:00.055) 0:00:05.784 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 07 February 2025 14:30:54 -0500 (0:00:00.077) 0:00:05.862 ******* ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 07 February 2025 14:30:55 -0500 (0:00:00.600) 0:00:06.462 ******* ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 07 February 2025 14:30:55 -0500 (0:00:00.027) 0:00:06.490 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 14:30:55 -0500 (0:00:00.052) 0:00:06.543 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 14:30:55 -0500 (0:00:00.044) 0:00:06.587 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 14:30:55 -0500 (0:00:00.201) 0:00:06.789 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:30:55 -0500 (0:00:00.096) 0:00:06.885 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:30:55 -0500 (0:00:00.080) 0:00:06.965 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003174", "end": "2025-02-07 14:30:56.292732", "rc": 0, "start": "2025-02-07 14:30:56.289558" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:30:56 -0500 (0:00:00.517) 0:00:07.483 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:30:56 -0500 (0:00:00.041) 0:00:07.524 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 14:30:56 -0500 (0:00:00.048) 0:00:07.573 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 07 February 2025 14:30:56 -0500 (0:00:00.141) 0:00:07.714 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009049", "end": "2025-02-07 14:30:56.896298", "rc": 1, "start": "2025-02-07 14:30:56.887249" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 14:30:56 -0500 (0:00:00.374) 0:00:08.088 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:30:57 -0500 (0:00:00.058) 0:00:08.146 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 14:30:57 -0500 (0:00:00.339) 0:00:08.486 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 14:30:57 -0500 (0:00:00.052) 0:00:08.539 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 14:30:57 -0500 (0:00:00.084) 0:00:08.623 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:30:57 -0500 (0:00:00.272) 0:00:08.895 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:30:57 -0500 (0:00:00.059) 0:00:08.955 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:30:57 -0500 (0:00:00.043) 0:00:08.998 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:30:57 -0500 (0:00:00.065) 0:00:09.064 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:30:58 -0500 (0:00:00.090) 0:00:09.155 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:30:59 -0500 (0:00:01.307) 0:00:10.463 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:31:01 -0500 (0:00:02.206) 0:00:12.670 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:31:01 -0500 (0:00:00.090) 0:00:12.760 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:31:01 -0500 (0:00:00.089) 0:00:12.849 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:31:01 -0500 (0:00:00.157) 0:00:13.006 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:31:02 -0500 (0:00:00.213) 0:00:13.219 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:31:02 -0500 (0:00:00.239) 0:00:13.459 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:31:02 -0500 (0:00:00.181) 0:00:13.641 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:31:02 -0500 (0:00:00.127) 0:00:13.769 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:31:02 -0500 (0:00:00.195) 0:00:13.964 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:31:03 -0500 (0:00:00.157) 0:00:14.122 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:31:03 -0500 (0:00:00.141) 0:00:14.263 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:31:03 -0500 (0:00:00.193) 0:00:14.457 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:31:03 -0500 (0:00:00.137) 0:00:14.594 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:31:03 -0500 (0:00:00.088) 0:00:14.683 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:31:04 -0500 (0:00:01.049) 0:00:15.732 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpiljXw6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:31:05 -0500 (0:00:00.546) 0:00:16.279 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:31:06 -0500 (0:00:01.431) 0:00:17.710 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:31:06 -0500 (0:00:00.089) 0:00:17.800 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:31:06 -0500 (0:00:00.096) 0:00:17.896 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:31:06 -0500 (0:00:00.085) 0:00:17.981 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:31:06 -0500 (0:00:00.071) 0:00:18.053 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 14:31:07 -0500 (0:00:00.467) 0:00:18.521 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 14:31:07 -0500 (0:00:00.160) 0:00:18.681 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 14:31:07 -0500 (0:00:00.279) 0:00:18.960 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 14:31:08 -0500 (0:00:00.201) 0:00:19.162 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 14:31:08 -0500 (0:00:00.090) 0:00:19.253 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738956666.3492367, "block_size": 4096, "blocks": 8, "ctime": 1738956666.3492367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9256, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738956666.3492367, "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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 14:31:08 -0500 (0:00:00.383) 0:00:19.637 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 14:31:08 -0500 (0:00:00.079) 0:00:19.716 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021933", "end": "2025-02-07 14:31:08.874011", "rc": 1, "start": "2025-02-07 14:31:08.852078" } 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 14:31:09 -0500 (0:00:00.440) 0:00:20.157 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 14:31:09 -0500 (0:00:00.125) 0:00:20.282 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003619", "end": "2025-02-07 14:31:09.479961", "rc": 0, "start": "2025-02-07 14:31:09.476342" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 14:31:09 -0500 (0:00:00.560) 0:00:20.842 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 14:31:09 -0500 (0:00:00.143) 0:00:20.986 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003095", "end": "2025-02-07 14:31:10.211311", "rc": 0, "start": "2025-02-07 14:31:10.208216" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 14:31:10 -0500 (0:00:00.518) 0:00:21.505 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 14:31:10 -0500 (0:00:00.166) 0:00:21.672 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 14:31:10 -0500 (0:00:00.149) 0:00:21.822 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 14:31:10 -0500 (0:00:00.160) 0:00:21.982 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 14:31:10 -0500 (0:00:00.134) 0:00:22.116 ******* skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_present.yml', u'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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 14:31:11 -0500 (0:00:00.146) 0:00:22.263 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 14:31:11 -0500 (0:00:00.153) 0:00:22.416 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 14:31:11 -0500 (0:00:00.188) 0:00:22.605 ******* 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.040116", "end": "2025-02-07 14:31:11.810095", "rc": 1, "start": "2025-02-07 14:31:11.769979" } 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 07 February 2025 14:31:11 -0500 (0:00:00.498) 0:00:23.103 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 14:31:12 -0500 (0:00:00.261) 0:00:23.365 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 14:31:12 -0500 (0:00:00.198) 0:00:23.564 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 14:31:12 -0500 (0:00:00.242) 0:00:23.806 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:31:12 -0500 (0:00:00.201) 0:00:24.008 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:31:13 -0500 (0:00:00.168) 0:00:24.177 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002988", "end": "2025-02-07 14:31:13.344119", "rc": 0, "start": "2025-02-07 14:31:13.341131" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:31:13 -0500 (0:00:00.493) 0:00:24.671 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:31:13 -0500 (0:00:00.126) 0:00:24.798 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 14:31:13 -0500 (0:00:00.133) 0:00:24.931 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 07 February 2025 14:31:14 -0500 (0:00:00.276) 0:00:25.208 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006950", "end": "2025-02-07 14:31:14.442001", "rc": 1, "start": "2025-02-07 14:31:14.435051" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 14:31:14 -0500 (0:00:00.490) 0:00:25.699 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:31:14 -0500 (0:00:00.198) 0:00:25.897 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 14:31:15 -0500 (0:00:00.396) 0:00:26.294 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 14:31:15 -0500 (0:00:00.151) 0:00:26.445 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 07 February 2025 14:31:15 -0500 (0:00:00.425) 0:00:26.871 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:31:16 -0500 (0:00:00.270) 0:00:27.141 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:31:16 -0500 (0:00:00.402) 0:00:27.544 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:31:16 -0500 (0:00:00.162) 0:00:27.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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:31:16 -0500 (0:00:00.152) 0:00:27.860 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:31:16 -0500 (0:00:00.158) 0:00:28.018 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:31:18 -0500 (0:00:01.255) 0:00:29.274 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:31:19 -0500 (0:00:01.436) 0:00:30.711 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:31:19 -0500 (0:00:00.211) 0:00:30.922 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:31:19 -0500 (0:00:00.174) 0:00:31.096 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:31:20 -0500 (0:00:00.112) 0:00:31.209 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:31:20 -0500 (0:00:00.138) 0:00:31.348 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:31:20 -0500 (0:00:00.119) 0:00:31.467 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:31:20 -0500 (0:00:00.214) 0:00:31.681 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:31:20 -0500 (0:00:00.130) 0:00:31.811 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:31:20 -0500 (0:00:00.211) 0:00:32.023 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:31:20 -0500 (0:00:00.093) 0:00:32.117 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:31:21 -0500 (0:00:00.075) 0:00:32.193 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:31:21 -0500 (0:00:00.081) 0:00:32.274 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:31:21 -0500 (0:00:00.077) 0:00:32.352 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:31:21 -0500 (0:00:00.075) 0:00:32.427 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:31:21 -0500 (0:00:00.477) 0:00:32.905 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpzXzogt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:31:22 -0500 (0:00:00.350) 0:00:33.255 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:31:23 -0500 (0:00:01.021) 0:00:34.276 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:31:23 -0500 (0:00:00.156) 0:00:34.433 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:31:23 -0500 (0:00:00.125) 0:00:34.559 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:31:23 -0500 (0:00:00.138) 0:00:34.697 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:31:23 -0500 (0:00:00.129) 0:00:34.827 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 07 February 2025 14:31:24 -0500 (0:00:00.552) 0:00:35.379 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 14:31:24 -0500 (0:00:00.122) 0:00:35.502 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 14:31:24 -0500 (0:00:00.233) 0:00:35.735 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:31:24 -0500 (0:00:00.169) 0:00:35.905 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 14:31:25 -0500 (0:00:00.474) 0:00:36.380 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 14:31:25 -0500 (0:00:00.125) 0:00:36.505 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 14:31:25 -0500 (0:00:00.208) 0:00:36.714 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 14:31:25 -0500 (0:00:00.116) 0:00:36.830 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738956682.8293781, "block_size": 4096, "blocks": 8, "ctime": 1738956682.8293781, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22463, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738956682.8293781, "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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 14:31:26 -0500 (0:00:00.416) 0:00:37.246 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 14:31:26 -0500 (0:00:00.193) 0:00:37.440 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017205", "end": "2025-02-07 14:31:26.702256", "rc": 1, "start": "2025-02-07 14:31:26.685051" } 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 14:31:26 -0500 (0:00:00.559) 0:00:37.999 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 14:31:27 -0500 (0:00:00.176) 0:00:38.176 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002992", "end": "2025-02-07 14:31:27.508472", "rc": 0, "start": "2025-02-07 14:31:27.505480" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 14:31:27 -0500 (0:00:00.669) 0:00:38.846 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 14:31:27 -0500 (0:00:00.218) 0:00:39.065 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003021", "end": "2025-02-07 14:31:28.335997", "rc": 0, "start": "2025-02-07 14:31:28.332976" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 14:31:28 -0500 (0:00:00.511) 0:00:39.576 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 14:31:28 -0500 (0:00:00.137) 0:00:39.714 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 14:31:28 -0500 (0:00:00.186) 0:00:39.901 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 14:31:28 -0500 (0:00:00.188) 0:00:40.089 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 14:31:29 -0500 (0:00:00.245) 0:00:40.334 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 14:31:29 -0500 (0:00:00.173) 0:00:40.508 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 14:31:29 -0500 (0:00:00.127) 0:00:40.635 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 14:31:29 -0500 (0:00:00.216) 0:00:40.851 ******* 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.037012", "end": "2025-02-07 14:31:30.054718", "rc": 1, "start": "2025-02-07 14:31:30.017706" } 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 07 February 2025 14:31:30 -0500 (0:00:00.514) 0:00:41.366 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 14:31:30 -0500 (0:00:00.226) 0:00:41.592 ******* ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 14:31:30 -0500 (0:00:00.141) 0:00:41.734 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 14:31:30 -0500 (0:00:00.232) 0:00:41.967 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:31:31 -0500 (0:00:00.270) 0:00:42.237 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:31:31 -0500 (0:00:00.197) 0:00:42.434 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003108", "end": "2025-02-07 14:31:31.703816", "rc": 0, "start": "2025-02-07 14:31:31.700708" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:31:31 -0500 (0:00:00.546) 0:00:42.981 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:31:32 -0500 (0:00:00.210) 0:00:43.191 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 14:31:32 -0500 (0:00:00.166) 0:00:43.358 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 14:31:32 -0500 (0:00:00.255) 0:00:43.613 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:31:32 -0500 (0:00:00.245) 0:00:43.859 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:31:33 -0500 (0:00:00.279) 0:00:44.139 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:31:33 -0500 (0:00:00.168) 0:00:44.308 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:31:33 -0500 (0:00:00.149) 0:00:44.457 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:31:33 -0500 (0:00:00.117) 0:00:44.575 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:31:34 -0500 (0:00:00.895) 0:00:45.470 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:31:35 -0500 (0:00:01.607) 0:00:47.078 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:31:36 -0500 (0:00:00.195) 0:00:47.273 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:31:36 -0500 (0:00:00.249) 0:00:47.523 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:31:36 -0500 (0:00:00.184) 0:00:47.707 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:31:36 -0500 (0:00:00.150) 0:00:47.858 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:31:36 -0500 (0:00:00.177) 0:00:48.036 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:31:37 -0500 (0:00:00.163) 0:00:48.199 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:31:37 -0500 (0:00:00.136) 0:00:48.335 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:31:37 -0500 (0:00:00.246) 0:00:48.582 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:31:37 -0500 (0:00:00.121) 0:00:48.703 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:31:37 -0500 (0:00:00.161) 0:00:48.865 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:31:37 -0500 (0:00:00.129) 0:00:48.994 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:31:38 -0500 (0:00:00.155) 0:00:49.150 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:31:38 -0500 (0:00:00.109) 0:00:49.259 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:31:39 -0500 (0:00:00.885) 0:00:50.145 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmp6b0JMu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:31:39 -0500 (0:00:00.430) 0:00:50.576 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:31:40 -0500 (0:00:00.935) 0:00:51.511 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:31:40 -0500 (0:00:00.110) 0:00:51.622 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:31:40 -0500 (0:00:00.141) 0:00:51.763 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:31:40 -0500 (0:00:00.139) 0:00:51.903 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:31:40 -0500 (0:00:00.202) 0:00:52.105 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 14:31:41 -0500 (0:00:00.493) 0:00:52.599 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 14:31:41 -0500 (0:00:00.131) 0:00:52.730 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 14:31:41 -0500 (0:00:00.255) 0:00:52.986 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:31:42 -0500 (0:00:00.359) 0:00:53.345 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:31:42 -0500 (0:00:00.249) 0:00:53.595 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:31:42 -0500 (0:00:00.161) 0:00:53.756 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:31:42 -0500 (0:00:00.215) 0:00:53.971 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:31:42 -0500 (0:00:00.148) 0:00:54.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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:31:44 -0500 (0:00:01.071) 0:00:55.192 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:31:45 -0500 (0:00:01.332) 0:00:56.525 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:31:45 -0500 (0:00:00.129) 0:00:56.654 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:31:45 -0500 (0:00:00.150) 0:00:56.805 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:31:45 -0500 (0:00:00.120) 0:00:56.925 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:31:46 -0500 (0:00:00.214) 0:00:57.140 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:31:46 -0500 (0:00:00.184) 0:00:57.324 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:31:46 -0500 (0:00:00.155) 0:00:57.480 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:31:46 -0500 (0:00:00.235) 0:00:57.716 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:31:46 -0500 (0:00:00.252) 0:00:57.968 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:31:46 -0500 (0:00:00.143) 0:00:58.111 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:31:47 -0500 (0:00:00.131) 0:00:58.243 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:31:47 -0500 (0:00:00.125) 0:00:58.368 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:31:47 -0500 (0:00:00.151) 0:00:58.520 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:31:47 -0500 (0:00:00.173) 0:00:58.693 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:31:48 -0500 (0:00:00.736) 0:00:59.429 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpMeqw3x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:31:48 -0500 (0:00:00.583) 0:01:00.013 ******* 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='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:31:49 -0500 (0:00:00.887) 0:01:00.901 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:31:49 -0500 (0:00:00.100) 0:01:01.001 ******* 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='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:31:50 -0500 (0:00:00.124) 0:01:01.125 ******* 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='', err=''\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='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:31:50 -0500 (0:00:00.156) 0:01:01.282 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:31:50 -0500 (0:00:00.117) 0:01:01.400 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 14:31:50 -0500 (0:00:00.343) 0:01:01.743 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 14:31:50 -0500 (0:00:00.319) 0:01:02.062 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:31:51 -0500 (0:00:00.218) 0:01:02.281 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738956709.6196082, "block_size": 4096, "blocks": 0, "ctime": 1738956709.618608, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "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": 1738956709.618608, "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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 14:31:51 -0500 (0:00:00.640) 0:01:02.921 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 14:31:51 -0500 (0:00:00.121) 0:01:03.043 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 14:31:52 -0500 (0:00:00.283) 0:01:03.326 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 14:31:52 -0500 (0:00:00.199) 0:01:03.526 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738956709.4636068, "block_size": 4096, "blocks": 8, "ctime": 1738956700.284528, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9256, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738956700.284528, "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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 14:31:53 -0500 (0:00:00.654) 0:01:04.180 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 14:31:53 -0500 (0:00:00.121) 0:01:04.302 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019842", "end": "2025-02-07 14:31:53.507147", "rc": 1, "start": "2025-02-07 14:31:53.487305" } 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 14:31:53 -0500 (0:00:00.473) 0:01:04.775 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 14:31:53 -0500 (0:00:00.128) 0:01:04.903 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002914", "end": "2025-02-07 14:31:54.051019", "rc": 0, "start": "2025-02-07 14:31:54.048105" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 14:31:54 -0500 (0:00:00.532) 0:01:05.435 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 14:31:54 -0500 (0:00:00.210) 0:01:05.646 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003011", "end": "2025-02-07 14:31:54.835145", "rc": 0, "start": "2025-02-07 14:31:54.832134" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 14:31:55 -0500 (0:00:00.495) 0:01:06.141 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 14:31:55 -0500 (0:00:00.166) 0:01:06.308 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 14:31:55 -0500 (0:00:00.193) 0:01:06.502 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 14:31:55 -0500 (0:00:00.150) 0:01:06.653 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 14:31:55 -0500 (0:00:00.137) 0:01:06.790 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 14:31:55 -0500 (0:00:00.147) 0:01:06.938 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 14:31:56 -0500 (0:00:00.223) 0:01:07.161 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 14:31:56 -0500 (0:00:00.245) 0:01:07.407 ******* 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.044813", "end": "2025-02-07 14:31:56.625286", "rc": 0, "start": "2025-02-07 14:31:56.580473" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 07 February 2025 14:31:56 -0500 (0:00:00.487) 0:01:07.894 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 14:31:57 -0500 (0:00:00.244) 0:01:08.139 ******* ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 14:31:57 -0500 (0:00:00.144) 0:01:08.283 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 14:31:57 -0500 (0:00:00.248) 0:01:08.532 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:31:57 -0500 (0:00:00.211) 0:01:08.744 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:31:57 -0500 (0:00:00.271) 0:01:09.016 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004016", "end": "2025-02-07 14:31:59.193751", "rc": 0, "start": "2025-02-07 14:31:58.189735" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:31:59 -0500 (0:00:01.436) 0:01:10.452 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:31:59 -0500 (0:00:00.118) 0:01:10.571 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 14:31:59 -0500 (0:00:00.107) 0:01:10.678 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 14:31:59 -0500 (0:00:00.169) 0:01:10.848 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:31:59 -0500 (0:00:00.136) 0:01:10.984 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:32:00 -0500 (0:00:00.209) 0:01:11.194 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:32:00 -0500 (0:00:00.178) 0:01:11.372 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:32:00 -0500 (0:00:00.119) 0:01:11.491 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:32:00 -0500 (0:00:00.117) 0:01:11.609 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:32:01 -0500 (0:00:01.011) 0:01:12.621 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:32:03 -0500 (0:00:01.571) 0:01:14.192 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:32:03 -0500 (0:00:00.089) 0:01:14.282 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:32:03 -0500 (0:00:00.136) 0:01:14.418 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:32:03 -0500 (0:00:00.185) 0:01:14.603 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:32:03 -0500 (0:00:00.146) 0:01:14.749 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:32:03 -0500 (0:00:00.121) 0:01:14.871 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:32:03 -0500 (0:00:00.180) 0:01:15.052 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:32:04 -0500 (0:00:00.153) 0:01:15.206 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:32:04 -0500 (0:00:00.192) 0:01:15.398 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:32:04 -0500 (0:00:00.093) 0:01:15.492 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:32:04 -0500 (0:00:00.138) 0:01:15.630 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:32:04 -0500 (0:00:00.185) 0:01:15.815 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:32:04 -0500 (0:00:00.167) 0:01:15.983 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:32:05 -0500 (0:00:00.201) 0:01:16.185 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:32:05 -0500 (0:00:00.751) 0:01:16.936 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpgqOPEa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:32:06 -0500 (0:00:00.467) 0:01:17.404 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:32:07 -0500 (0:00:00.725) 0:01:18.129 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:32:07 -0500 (0:00:00.095) 0:01:18.225 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:32:07 -0500 (0:00:00.099) 0:01:18.324 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:32:07 -0500 (0:00:00.085) 0:01:18.410 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:32:07 -0500 (0:00:00.079) 0:01:18.489 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 14:32:07 -0500 (0:00:00.393) 0:01:18.882 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 14:32:07 -0500 (0:00:00.132) 0:01:19.014 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:32:08 -0500 (0:00:00.213) 0:01:19.228 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:32:08 -0500 (0:00:00.250) 0:01:19.478 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:32:08 -0500 (0:00:00.153) 0:01:19.632 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:32:08 -0500 (0:00:00.238) 0:01:19.871 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:32:08 -0500 (0:00:00.208) 0:01:20.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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:32:10 -0500 (0:00:01.442) 0:01:21.522 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:32:12 -0500 (0:00:01.622) 0:01:23.145 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:32:12 -0500 (0:00:00.152) 0:01:23.297 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:32:12 -0500 (0:00:00.116) 0:01:23.413 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:32:12 -0500 (0:00:00.118) 0:01:23.532 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:32:12 -0500 (0:00:00.193) 0:01:23.725 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:32:12 -0500 (0:00:00.111) 0:01:23.836 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:32:12 -0500 (0:00:00.146) 0:01:23.983 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:32:12 -0500 (0:00:00.132) 0:01:24.116 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:32:13 -0500 (0:00:00.207) 0:01:24.323 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:32:13 -0500 (0:00:00.094) 0:01:24.418 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:32:13 -0500 (0:00:00.098) 0:01:24.516 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:32:13 -0500 (0:00:00.157) 0:01:24.674 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:32:13 -0500 (0:00:00.118) 0:01:24.793 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:32:13 -0500 (0:00:00.123) 0:01:24.916 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:32:14 -0500 (0:00:00.573) 0:01:25.490 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmprZmI_D" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:32:14 -0500 (0:00:00.443) 0:01:25.933 ******* 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='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:32:15 -0500 (0:00:00.839) 0:01:26.772 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:32:15 -0500 (0:00:00.109) 0:01:26.881 ******* 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='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:32:15 -0500 (0:00:00.124) 0:01:27.006 ******* 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='', err=''\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='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:32:16 -0500 (0:00:00.127) 0:01:27.134 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:32:16 -0500 (0:00:00.125) 0:01:27.259 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 14:32:16 -0500 (0:00:00.439) 0:01:27.699 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 07 February 2025 14:32:16 -0500 (0:00:00.223) 0:01:27.923 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:32:17 -0500 (0:00:00.238) 0:01:28.161 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:32:17 -0500 (0:00:00.255) 0:01:28.417 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:32:17 -0500 (0:00:00.104) 0:01:28.521 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:32:17 -0500 (0:00:00.119) 0:01:28.641 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:32:17 -0500 (0:00:00.118) 0:01:28.760 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:32:18 -0500 (0:00:00.949) 0:01:29.709 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:32:20 -0500 (0:00:01.539) 0:01:31.249 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:32:20 -0500 (0:00:00.128) 0:01:31.378 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:32:20 -0500 (0:00:00.096) 0:01:31.474 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:32:20 -0500 (0:00:00.087) 0:01:31.562 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:32:20 -0500 (0:00:00.177) 0:01:31.739 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:32:20 -0500 (0:00:00.126) 0:01:31.866 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:32:20 -0500 (0:00:00.133) 0:01:31.999 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:32:21 -0500 (0:00:00.133) 0:01:32.133 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:32:21 -0500 (0:00:00.195) 0:01:32.328 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:32:21 -0500 (0:00:00.121) 0:01:32.450 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:32:21 -0500 (0:00:00.128) 0:01:32.578 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:32:21 -0500 (0:00:00.109) 0:01:32.688 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:32:21 -0500 (0:00:00.081) 0:01:32.769 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:32:21 -0500 (0:00:00.114) 0:01:32.884 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:32:22 -0500 (0:00:00.584) 0:01:33.468 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpeecUjA" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:32:22 -0500 (0:00:00.593) 0:01:34.062 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:32:23 -0500 (0:00:01.015) 0:01:35.077 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:32:24 -0500 (0:00:00.208) 0:01:35.285 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:32:24 -0500 (0:00:00.125) 0:01:35.411 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:32:24 -0500 (0:00:00.157) 0:01:35.568 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:32:24 -0500 (0:00:00.124) 0:01:35.693 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 14:32:25 -0500 (0:00:00.566) 0:01:36.260 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 14:32:25 -0500 (0:00:00.255) 0:01:36.515 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:32:25 -0500 (0:00:00.232) 0:01:36.747 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738956735.4898303, "block_size": 4096, "blocks": 0, "ctime": 1738956735.48883, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "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": 1738956735.48883, "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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 14:32:26 -0500 (0:00:00.614) 0:01:37.361 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 07 February 2025 14:32:26 -0500 (0:00:00.126) 0:01:37.488 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 14:32:26 -0500 (0:00:00.154) 0:01:37.643 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 14:32:26 -0500 (0:00:00.109) 0:01:37.753 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 14:32:27 -0500 (0:00:00.658) 0:01:38.411 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 14:32:27 -0500 (0:00:00.177) 0:01:38.589 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018841", "end": "2025-02-07 14:32:27.825755", "rc": 1, "start": "2025-02-07 14:32:27.806914" } 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 14:32:27 -0500 (0:00:00.531) 0:01:39.120 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 14:32:28 -0500 (0:00:00.206) 0:01:39.327 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 14:32:28 -0500 (0:00:00.145) 0:01:39.472 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 14:32:28 -0500 (0:00:00.129) 0:01:39.602 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 14:32:28 -0500 (0:00:00.130) 0:01:39.733 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 07 February 2025 14:32:28 -0500 (0:00:00.198) 0:01:39.932 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 14:32:28 -0500 (0:00:00.172) 0:01:40.104 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 14:32:29 -0500 (0:00:00.149) 0:01:40.253 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 14:32:29 -0500 (0:00:00.145) 0:01:40.399 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 14:32:29 -0500 (0:00:00.185) 0:01:40.584 ******* 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.041568", "end": "2025-02-07 14:32:29.747274", "rc": 0, "start": "2025-02-07 14:32:29.705706" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 07 February 2025 14:32:29 -0500 (0:00:00.394) 0:01:40.978 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 14:32:30 -0500 (0:00:00.200) 0:01:41.179 ******* ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 14:32:30 -0500 (0:00:00.145) 0:01:41.325 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 14:32:30 -0500 (0:00:00.238) 0:01:41.563 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:32:30 -0500 (0:00:00.150) 0:01:41.714 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:32:30 -0500 (0:00:00.129) 0:01:41.844 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002952", "end": "2025-02-07 14:32:30.967294", "rc": 0, "start": "2025-02-07 14:32:30.964342" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:32:31 -0500 (0:00:00.340) 0:01:42.184 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:32:31 -0500 (0:00:00.080) 0:01:42.264 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 14:32:31 -0500 (0:00:00.214) 0:01:42.479 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 14:32:31 -0500 (0:00:00.248) 0:01:42.727 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:32:31 -0500 (0:00:00.260) 0:01:42.987 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:32:32 -0500 (0:00:00.307) 0:01:43.294 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:32:32 -0500 (0:00:00.174) 0:01:43.468 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:32:32 -0500 (0:00:00.141) 0:01:43.610 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:32:32 -0500 (0:00:00.137) 0:01:43.748 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:32:33 -0500 (0:00:01.258) 0:01:45.006 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:32:35 -0500 (0:00:01.792) 0:01:46.798 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:32:35 -0500 (0:00:00.188) 0:01:46.987 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:32:35 -0500 (0:00:00.099) 0:01:47.087 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:32:36 -0500 (0:00:00.102) 0:01:47.189 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:32:36 -0500 (0:00:00.119) 0:01:47.309 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:32:36 -0500 (0:00:00.119) 0:01:47.428 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:32:36 -0500 (0:00:00.205) 0:01:47.634 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:32:36 -0500 (0:00:00.226) 0:01:47.860 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:32:36 -0500 (0:00:00.216) 0:01:48.076 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:32:37 -0500 (0:00:00.125) 0:01:48.202 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:32:37 -0500 (0:00:00.138) 0:01:48.340 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:32:37 -0500 (0:00:00.124) 0:01:48.465 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:32:37 -0500 (0:00:00.103) 0:01:48.569 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:32:37 -0500 (0:00:00.124) 0:01:48.693 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:32:38 -0500 (0:00:00.909) 0:01:49.603 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpTkKLRk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:32:38 -0500 (0:00:00.485) 0:01:50.088 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:32:39 -0500 (0:00:00.802) 0:01:50.891 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:32:39 -0500 (0:00:00.102) 0:01:50.993 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:32:40 -0500 (0:00:00.183) 0:01:51.177 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:32:40 -0500 (0:00:00.097) 0:01:51.274 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:32:40 -0500 (0:00:00.080) 0:01:51.355 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 14:32:40 -0500 (0:00:00.479) 0:01:51.834 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 14:32:40 -0500 (0:00:00.132) 0:01:51.967 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:32:41 -0500 (0:00:00.271) 0:01:52.238 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:32:41 -0500 (0:00:00.256) 0:01:52.495 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:32:41 -0500 (0:00:00.174) 0:01:52.670 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:32:41 -0500 (0:00:00.135) 0:01:52.806 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:32:41 -0500 (0:00:00.199) 0:01:53.005 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:32:43 -0500 (0:00:01.291) 0:01:54.296 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:32:44 -0500 (0:00:01.494) 0:01:55.791 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:32:44 -0500 (0:00:00.100) 0:01:55.891 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:32:44 -0500 (0:00:00.198) 0:01:56.090 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:32:45 -0500 (0:00:00.137) 0:01:56.227 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:32:45 -0500 (0:00:00.126) 0:01:56.354 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:32:45 -0500 (0:00:00.160) 0:01:56.514 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:32:45 -0500 (0:00:00.180) 0:01:56.695 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:32:45 -0500 (0:00:00.129) 0:01:56.824 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:32:45 -0500 (0:00:00.157) 0:01:56.982 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:32:45 -0500 (0:00:00.110) 0:01:57.093 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:32:46 -0500 (0:00:00.125) 0:01:57.218 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:32:46 -0500 (0:00:00.158) 0:01:57.377 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:32:46 -0500 (0:00:00.126) 0:01:57.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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:32:46 -0500 (0:00:00.221) 0:01:57.726 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:32:47 -0500 (0:00:00.691) 0:01:58.417 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpvmMalZ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:32:47 -0500 (0:00:00.534) 0:01:58.951 ******* 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='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:32:49 -0500 (0:00:01.252) 0:02:00.203 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:32:49 -0500 (0:00:00.076) 0:02:00.280 ******* 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='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:32:49 -0500 (0:00:00.079) 0:02:00.359 ******* 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='', err=''\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='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:32:49 -0500 (0:00:00.083) 0:02:00.443 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:32:49 -0500 (0:00:00.076) 0:02:00.520 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 07 February 2025 14:32:49 -0500 (0:00:00.475) 0:02:00.995 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:32:50 -0500 (0:00:00.257) 0:02:01.252 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:32:50 -0500 (0:00:00.245) 0:02:01.498 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:32:50 -0500 (0:00:00.155) 0:02:01.654 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:32:50 -0500 (0:00:00.118) 0:02:01.772 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:32:50 -0500 (0:00:00.148) 0:02:01.921 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:32:51 -0500 (0:00:01.179) 0:02:03.100 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:32:53 -0500 (0:00:01.827) 0:02:04.928 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:32:53 -0500 (0:00:00.159) 0:02:05.087 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:32:54 -0500 (0:00:00.147) 0:02:05.235 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:32:54 -0500 (0:00:00.122) 0:02:05.358 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:32:54 -0500 (0:00:00.099) 0:02:05.457 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:32:54 -0500 (0:00:00.122) 0:02:05.580 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:32:54 -0500 (0:00:00.221) 0:02:05.802 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:32:54 -0500 (0:00:00.172) 0:02:05.974 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:32:55 -0500 (0:00:00.215) 0:02:06.190 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:32:55 -0500 (0:00:00.145) 0:02:06.336 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:32:55 -0500 (0:00:00.117) 0:02:06.454 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:32:55 -0500 (0:00:00.110) 0:02:06.564 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:32:55 -0500 (0:00:00.099) 0:02:06.663 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:32:55 -0500 (0:00:00.112) 0:02:06.776 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:32:56 -0500 (0:00:00.527) 0:02:07.304 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmp9vlWye" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:32:56 -0500 (0:00:00.468) 0:02:07.773 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:32:57 -0500 (0:00:00.725) 0:02:08.499 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:32:57 -0500 (0:00:00.095) 0:02:08.594 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:32:57 -0500 (0:00:00.093) 0:02:08.688 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:32:57 -0500 (0:00:00.092) 0:02:08.780 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:32:57 -0500 (0:00:00.119) 0:02:08.900 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 14:32:58 -0500 (0:00:00.422) 0:02:09.322 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 14:32:58 -0500 (0:00:00.202) 0:02:09.524 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:32:58 -0500 (0:00:00.162) 0:02:09.687 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:32:58 -0500 (0:00:00.221) 0:02:09.908 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:32:58 -0500 (0:00:00.149) 0:02:10.058 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:32:59 -0500 (0:00:00.119) 0:02:10.177 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:32:59 -0500 (0:00:00.118) 0:02:10.296 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:33:00 -0500 (0:00:01.062) 0:02:11.358 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:33:01 -0500 (0:00:01.270) 0:02:12.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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:33:01 -0500 (0:00:00.127) 0:02:12.756 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:33:01 -0500 (0:00:00.115) 0:02:12.872 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:33:01 -0500 (0:00:00.151) 0:02:13.023 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:33:02 -0500 (0:00:00.236) 0:02:13.260 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:33:02 -0500 (0:00:00.139) 0:02:13.399 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:33:02 -0500 (0:00:00.127) 0:02:13.527 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:33:02 -0500 (0:00:00.122) 0:02:13.649 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:33:02 -0500 (0:00:00.211) 0:02:13.861 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:33:02 -0500 (0:00:00.117) 0:02:13.978 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:33:02 -0500 (0:00:00.123) 0:02:14.102 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:33:03 -0500 (0:00:00.126) 0:02:14.228 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:33:03 -0500 (0:00:00.122) 0:02:14.351 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:33:03 -0500 (0:00:00.122) 0:02:14.473 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:33:04 -0500 (0:00:00.795) 0:02:15.269 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpf5pxM_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:33:04 -0500 (0:00:00.788) 0:02:16.057 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:33:05 -0500 (0:00:00.960) 0:02:17.018 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:33:05 -0500 (0:00:00.096) 0:02:17.114 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:33:06 -0500 (0:00:00.094) 0:02:17.208 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:33:06 -0500 (0:00:00.181) 0:02:17.390 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:33:06 -0500 (0:00:00.164) 0:02:17.554 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 14:33:06 -0500 (0:00:00.562) 0:02:18.117 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 07 February 2025 14:33:07 -0500 (0:00:00.239) 0:02:18.356 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 14:33:07 -0500 (0:00:00.272) 0:02:18.629 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 14:33:07 -0500 (0:00:00.094) 0:02:18.724 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 14:33:08 -0500 (0:00:00.789) 0:02:19.513 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 14:33:08 -0500 (0:00:00.104) 0:02:19.618 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019303", "end": "2025-02-07 14:33:08.792929", "rc": 1, "start": "2025-02-07 14:33:08.773626" } 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 14:33:09 -0500 (0:00:00.554) 0:02:20.172 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 14:33:09 -0500 (0:00:00.133) 0:02:20.306 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 14:33:09 -0500 (0:00:00.127) 0:02:20.433 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 14:33:09 -0500 (0:00:00.135) 0:02:20.569 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 14:33:09 -0500 (0:00:00.136) 0:02:20.705 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 07 February 2025 14:33:09 -0500 (0:00:00.169) 0:02:20.875 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 14:33:09 -0500 (0:00:00.130) 0:02:21.006 ******* skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 14:33:10 -0500 (0:00:00.126) 0:02:21.132 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 14:33:10 -0500 (0:00:00.164) 0:02:21.297 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 14:33:10 -0500 (0:00:00.358) 0:02:21.656 ******* 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.041689", "end": "2025-02-07 14:33:10.912290", "rc": 0, "start": "2025-02-07 14:33:10.870601" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 07 February 2025 14:33:11 -0500 (0:00:00.511) 0:02:22.168 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 14:33:11 -0500 (0:00:00.189) 0:02:22.358 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 14:33:11 -0500 (0:00:00.157) 0:02:22.516 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 14:33:11 -0500 (0:00:00.209) 0:02:22.726 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:33:11 -0500 (0:00:00.164) 0:02:22.890 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:33:11 -0500 (0:00:00.144) 0:02:23.034 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004651", "end": "2025-02-07 14:33:13.197415", "rc": 0, "start": "2025-02-07 14:33:12.192764" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:33:13 -0500 (0:00:01.525) 0:02:24.559 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:33:13 -0500 (0:00:00.196) 0:02:24.756 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 14:33:13 -0500 (0:00:00.121) 0:02:24.878 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 14:33:14 -0500 (0:00:00.462) 0:02:25.340 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:33:14 -0500 (0:00:00.308) 0:02:25.649 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:33:14 -0500 (0:00:00.252) 0:02:25.902 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:33:15 -0500 (0:00:00.460) 0:02:26.362 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:33:15 -0500 (0:00:00.144) 0:02:26.506 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:33:15 -0500 (0:00:00.161) 0:02:26.668 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:33:16 -0500 (0:00:01.073) 0:02:27.742 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:33:18 -0500 (0:00:01.409) 0:02:29.151 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:33:18 -0500 (0:00:00.141) 0:02:29.293 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:33:18 -0500 (0:00:00.131) 0:02:29.425 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:33:18 -0500 (0:00:00.166) 0:02:29.591 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:33:18 -0500 (0:00:00.237) 0:02:29.829 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:33:18 -0500 (0:00:00.209) 0:02:30.038 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:33:19 -0500 (0:00:00.154) 0:02:30.193 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:33:19 -0500 (0:00:00.228) 0:02:30.421 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:33:19 -0500 (0:00:00.274) 0:02:30.696 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:33:19 -0500 (0:00:00.145) 0:02:30.842 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:33:19 -0500 (0:00:00.131) 0:02:30.973 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:33:19 -0500 (0:00:00.129) 0:02:31.103 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:33:20 -0500 (0:00:00.127) 0:02:31.231 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:33:20 -0500 (0:00:00.123) 0:02:31.354 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:33:20 -0500 (0:00:00.604) 0:02:31.959 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpx3de0a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:33:21 -0500 (0:00:00.438) 0:02:32.397 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:33:22 -0500 (0:00:00.759) 0:02:33.157 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:33:22 -0500 (0:00:00.202) 0:02:33.359 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:33:22 -0500 (0:00:00.162) 0:02:33.522 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:33:22 -0500 (0:00:00.146) 0:02:33.669 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:33:22 -0500 (0:00:00.146) 0:02:33.816 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 14:33:23 -0500 (0:00:00.485) 0:02:34.301 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 14:33:23 -0500 (0:00:00.241) 0:02:34.542 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:33:23 -0500 (0:00:00.548) 0:02:35.091 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:33:24 -0500 (0:00:00.359) 0:02:35.451 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:33:24 -0500 (0:00:00.160) 0:02:35.611 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:33:24 -0500 (0:00:00.112) 0:02:35.723 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:33:24 -0500 (0:00:00.074) 0:02:35.798 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:33:25 -0500 (0:00:01.011) 0:02:36.809 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:33:27 -0500 (0:00:01.512) 0:02:38.322 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:33:27 -0500 (0:00:00.136) 0:02:38.459 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:33:27 -0500 (0:00:00.123) 0:02:38.582 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:33:27 -0500 (0:00:00.210) 0:02:38.793 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:33:27 -0500 (0:00:00.144) 0:02:38.938 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:33:27 -0500 (0:00:00.126) 0:02:39.064 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:33:28 -0500 (0:00:00.139) 0:02:39.204 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:33:28 -0500 (0:00:00.145) 0:02:39.349 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:33:28 -0500 (0:00:00.272) 0:02:39.621 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:33:28 -0500 (0:00:00.117) 0:02:39.738 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:33:28 -0500 (0:00:00.092) 0:02:39.831 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:33:28 -0500 (0:00:00.102) 0:02:39.934 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:33:28 -0500 (0:00:00.075) 0:02:40.009 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:33:28 -0500 (0:00:00.090) 0:02:40.099 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:33:29 -0500 (0:00:00.650) 0:02:40.750 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpexpzZY" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:33:30 -0500 (0:00:00.461) 0:02:41.212 ******* 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='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:33:30 -0500 (0:00:00.904) 0:02:42.116 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:33:31 -0500 (0:00:00.197) 0:02:42.314 ******* 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='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:33:31 -0500 (0:00:00.215) 0:02:42.529 ******* 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='', err=''\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='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:33:31 -0500 (0:00:00.325) 0:02:42.855 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:33:31 -0500 (0:00:00.134) 0:02:42.990 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 14:33:32 -0500 (0:00:00.474) 0:02:43.465 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:33:32 -0500 (0:00:00.242) 0:02:43.707 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:33:32 -0500 (0:00:00.289) 0:02:43.997 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:33:33 -0500 (0:00:00.124) 0:02:44.122 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:33:33 -0500 (0:00:00.110) 0:02:44.232 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:33:33 -0500 (0:00:00.120) 0:02:44.353 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:33:34 -0500 (0:00:00.993) 0:02:45.347 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:33:35 -0500 (0:00:01.744) 0:02:47.092 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:33:36 -0500 (0:00:00.131) 0:02:47.224 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:33:36 -0500 (0:00:00.157) 0:02:47.382 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:33:36 -0500 (0:00:00.148) 0:02:47.530 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:33:36 -0500 (0:00:00.131) 0:02:47.661 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:33:36 -0500 (0:00:00.194) 0:02:47.855 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:33:36 -0500 (0:00:00.137) 0:02:47.993 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:33:37 -0500 (0:00:00.165) 0:02:48.158 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:33:37 -0500 (0:00:00.207) 0:02:48.366 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:33:37 -0500 (0:00:00.092) 0:02:48.459 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:33:37 -0500 (0:00:00.076) 0:02:48.535 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:33:37 -0500 (0:00:00.115) 0:02:48.651 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:33:37 -0500 (0:00:00.116) 0:02:48.767 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:33:37 -0500 (0:00:00.119) 0:02:48.886 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:33:38 -0500 (0:00:00.764) 0:02:49.651 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpfgaCIo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:33:38 -0500 (0:00:00.388) 0:02:50.040 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:33:39 -0500 (0:00:00.796) 0:02:50.836 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:33:39 -0500 (0:00:00.203) 0:02:51.040 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:33:40 -0500 (0:00:00.144) 0:02:51.185 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:33:40 -0500 (0:00:00.254) 0:02:51.439 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:33:40 -0500 (0:00:00.180) 0:02:51.620 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 14:33:41 -0500 (0:00:00.521) 0:02:52.142 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 14:33:41 -0500 (0:00:00.252) 0:02:52.395 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 14:33:41 -0500 (0:00:00.241) 0:02:52.636 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 14:33:41 -0500 (0:00:00.206) 0:02:52.843 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 14:33:41 -0500 (0:00:00.115) 0:02:52.958 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 14:33:41 -0500 (0:00:00.077) 0:02:53.036 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 14:33:42 -0500 (0:00:00.088) 0:02:53.124 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 14:33:42 -0500 (0:00:00.956) 0:02:54.080 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 14:33:44 -0500 (0:00:01.314) 0:02:55.395 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 14:33:44 -0500 (0:00:00.118) 0:02:55.513 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 14:33:44 -0500 (0:00:00.115) 0:02:55.629 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 14:33:44 -0500 (0:00:00.125) 0:02:55.754 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 14:33:44 -0500 (0:00:00.125) 0:02:55.880 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 14:33:44 -0500 (0:00:00.089) 0:02:55.969 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 14:33:44 -0500 (0:00:00.104) 0:02:56.074 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 14:33:45 -0500 (0:00:00.088) 0:02:56.162 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 14:33:45 -0500 (0:00:00.133) 0:02:56.296 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 14:33:45 -0500 (0:00:00.074) 0:02:56.370 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 14:33:45 -0500 (0:00:00.193) 0:02:56.564 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 14:33:45 -0500 (0:00:00.110) 0:02:56.674 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 14:33:45 -0500 (0:00:00.103) 0:02:56.778 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 14:33:45 -0500 (0:00:00.080) 0:02:56.859 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 14:33:46 -0500 (0:00:00.513) 0:02:57.372 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17166hQg4jI/tmpN40idd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 14:33:46 -0500 (0:00:00.487) 0:02:57.859 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 14:33:47 -0500 (0:00:00.892) 0:02:58.752 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 14:33:47 -0500 (0:00:00.132) 0:02:58.884 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 14:33:47 -0500 (0:00:00.127) 0:02:59.012 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 14:33:48 -0500 (0:00:00.146) 0:02:59.158 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 14:33:48 -0500 (0:00:00.129) 0:02:59.287 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 14:33:48 -0500 (0:00:00.408) 0:02:59.696 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 07 February 2025 14:33:48 -0500 (0:00:00.283) 0:02:59.979 ******* included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 14:33:49 -0500 (0:00:00.218) 0:03:00.198 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 14:33:49 -0500 (0:00:00.212) 0:03:00.410 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 14:33:49 -0500 (0:00:00.533) 0:03:00.944 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 14:33:49 -0500 (0:00:00.102) 0:03:01.046 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017996", "end": "2025-02-07 14:33:50.192151", "rc": 1, "start": "2025-02-07 14:33:50.174155" } 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 14:33:50 -0500 (0:00:00.395) 0:03:01.441 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 14:33:50 -0500 (0:00:00.139) 0:03:01.580 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 14:33:50 -0500 (0:00:00.144) 0:03:01.725 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 14:33:50 -0500 (0:00:00.121) 0:03:01.847 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 14:33:50 -0500 (0:00:00.139) 0:03:01.986 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 07 February 2025 14:33:51 -0500 (0:00:00.173) 0:03:02.159 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 07 February 2025 14:33:51 -0500 (0:00:00.112) 0:03:02.272 ******* [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.608487", "end": "2025-02-07 14:33:52.070997", "rc": 0, "start": "2025-02-07 14:33:51.462510" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 07 February 2025 14:33:52 -0500 (0:00:01.067) 0:03:03.339 ******* ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 07 February 2025 14:33:52 -0500 (0:00:00.120) 0:03:03.459 ******* ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 14:33:52 -0500 (0:00:00.101) 0:03:03.561 ******* skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 14:33:52 -0500 (0:00:00.101) 0:03:03.663 ******* 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 14:33:52 -0500 (0:00:00.079) 0:03:03.742 ******* included: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-kUk/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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 14:33:52 -0500 (0:00:00.336) 0:03:04.078 ******* 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.044929", "end": "2025-02-07 14:33:53.262306", "rc": 0, "start": "2025-02-07 14:33:53.217377" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 07 February 2025 14:33:53 -0500 (0:00:00.461) 0:03:04.540 ******* 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.007006", "end": "2025-02-07 14:33:53.794182", "rc": 0, "start": "2025-02-07 14:33:53.787176" } 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:93:6b:f8:33:ef brd ff:ff:ff:ff:ff:ff inet 10.31.46.141/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2315sec preferred_lft 2315sec inet6 fe80::93:6bff:fef8:33ef/64 scope link valid_lft forever preferred_lft forever 24: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 96:8d:1e:68:b1:48 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.141 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 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-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 07 February 2025 14:33:54 -0500 (0:00:00.650) 0:03:05.191 ******* 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.588527", "end": "2025-02-07 14:33:55.028520", "rc": 0, "start": "2025-02-07 14:33:54.439993" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1509 0 --:--:-- --:--:-- --:--:-- 1517 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 793 0 --:--:-- --:--:-- --:--:-- 792 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=337 changed=13 unreachable=0 failed=0 skipped=285 rescued=0 ignored=10 Friday 07 February 2025 14:33:55 -0500 (0:00:01.071) 0:03:06.262 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.21s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.83s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.55s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.53s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gather current interface info ------------------------------------------- 1.44s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.31s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.29s /tmp/collections-kUk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21