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-ixH/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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 23 November 2024 07:54:19 -0500 (0:00:00.050) 0:00:00.050 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 23 November 2024 07:54:20 -0500 (0:00:01.453) 0:00:01.504 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 23 November 2024 07:54:20 -0500 (0:00:00.186) 0:00:01.690 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 23 November 2024 07:54:21 -0500 (0:00:00.543) 0:00:02.234 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 23 November 2024 07:54:22 -0500 (0:00:00.792) 0:00:03.026 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 23 November 2024 07:54:22 -0500 (0:00:00.187) 0:00:03.213 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 23 November 2024 07:54:22 -0500 (0:00:00.165) 0:00:03.379 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 23 November 2024 07:54:22 -0500 (0:00:00.293) 0:00:03.672 ***** ok: [managed-node2] => { "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.712) 0:00:04.385 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 23 November 2024 07:54:24 -0500 (0:00:01.005) 0:00:05.391 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.197916", "end": "2024-11-23 07:54:25.128163", "rc": 0, "start": "2024-11-23 07:54:24.930247" } 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 23 November 2024 07:54:25 -0500 (0:00:00.643) 0:00:06.035 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 23 November 2024 07:54:25 -0500 (0:00:00.058) 0:00:06.093 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 23 November 2024 07:54:25 -0500 (0:00:00.050) 0:00:06.144 ***** ok: [managed-node2] => { "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 23 November 2024 07:54:25 -0500 (0:00:00.041) 0:00:06.185 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.750) 0:00:06.936 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.052) 0:00:06.989 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.113) 0:00:07.102 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.060) 0:00:07.163 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.193) 0:00:07.357 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.172) 0:00:07.529 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.064) 0:00:07.594 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003746", "end": "2024-11-23 07:54:27.301371", "rc": 0, "start": "2024-11-23 07:54:27.297625" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:54:27 -0500 (0:00:00.542) 0:00:08.137 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:54:27 -0500 (0:00:00.032) 0:00:08.169 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:54:27 -0500 (0:00:00.032) 0:00:08.202 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 23 November 2024 07:54:27 -0500 (0:00:00.084) 0:00:08.287 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009513", "end": "2024-11-23 07:54:27.896218", "rc": 1, "start": "2024-11-23 07:54:27.886705" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:54:27 -0500 (0:00:00.458) 0:00:08.746 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:28 -0500 (0:00:00.065) 0:00:08.811 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:54:28 -0500 (0:00:00.374) 0:00:09.186 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:54:28 -0500 (0:00:00.055) 0:00:09.242 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:54:28 -0500 (0:00:00.109) 0:00:09.351 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:54:28 -0500 (0:00:00.313) 0:00:09.665 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:54:28 -0500 (0:00:00.102) 0:00:09.767 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:54:29 -0500 (0:00:00.056) 0:00:09.824 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:54:29 -0500 (0:00:00.053) 0:00:09.877 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:54:29 -0500 (0:00:00.049) 0:00:09.927 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:54:30 -0500 (0:00:01.423) 0:00:11.350 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:54:32 -0500 (0:00:01.942) 0:00:13.293 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:54:32 -0500 (0:00:00.082) 0:00:13.376 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:54:32 -0500 (0:00:00.089) 0:00:13.465 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:54:32 -0500 (0:00:00.128) 0:00:13.593 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:54:32 -0500 (0:00:00.129) 0:00:13.723 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.175) 0:00:13.898 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.178) 0:00:14.077 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.184) 0:00:14.261 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.237) 0:00:14.499 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.156) 0:00:14.655 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:54:34 -0500 (0:00:00.160) 0:00:14.816 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:54:34 -0500 (0:00:00.250) 0:00:15.066 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:54:34 -0500 (0:00:00.128) 0:00:15.195 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:54:34 -0500 (0:00:00.126) 0:00:15.322 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:54:35 -0500 (0:00:01.194) 0:00:16.516 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmpnIKDJ4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:54:36 -0500 (0:00:00.738) 0:00:17.255 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:54:37 -0500 (0:00:01.174) 0:00:18.430 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.128) 0:00:18.558 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.137) 0:00:18.696 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:54:38 -0500 (0:00:00.233) 0:00:18.930 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:54:38 -0500 (0:00:00.250) 0:00:19.180 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:54:39 -0500 (0:00:00.768) 0:00:19.948 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:54:39 -0500 (0:00:00.265) 0:00:20.213 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:54:39 -0500 (0:00:00.326) 0:00:20.540 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.330) 0:00:20.870 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.150) 0:00:21.021 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366477.4485147, "block_size": 4096, "blocks": 8, "ctime": 1732366477.4485147, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22472, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732366477.4485147, "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.728) 0:00:21.750 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:54:41 -0500 (0:00:00.214) 0:00:21.964 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026702", "end": "2024-11-23 07:54:41.535748", "rc": 1, "start": "2024-11-23 07:54:41.509046" } 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:54:41 -0500 (0:00:00.690) 0:00:22.655 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.139) 0:00:22.794 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003701", "end": "2024-11-23 07:54:42.317393", "rc": 0, "start": "2024-11-23 07:54:42.313692" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.621) 0:00:23.416 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.295) 0:00:23.711 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003727", "end": "2024-11-23 07:54:43.511278", "rc": 0, "start": "2024-11-23 07:54:43.507551" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.740) 0:00:24.452 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.147) 0:00:24.600 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.152) 0:00:24.752 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.140) 0:00:24.893 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.181) 0:00:25.074 ***** skipping: [managed-node2] => (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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.114) 0:00:25.189 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.098) 0:00:25.287 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.168) 0:00:25.456 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047229", "end": "2024-11-23 07:54:45.058855", "rc": 1, "start": "2024-11-23 07:54:45.011626" } 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 23 November 2024 07:54:45 -0500 (0:00:00.545) 0:00:26.001 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:54:45 -0500 (0:00:00.241) 0:00:26.242 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:54:45 -0500 (0:00:00.134) 0:00:26.377 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:54:46 -0500 (0:00:00.444) 0:00:26.821 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:54:46 -0500 (0:00:00.253) 0:00:27.075 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:54:46 -0500 (0:00:00.246) 0:00:27.321 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003715", "end": "2024-11-23 07:54:47.059568", "rc": 0, "start": "2024-11-23 07:54:47.055853" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.679) 0:00:28.001 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.147) 0:00:28.149 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.215) 0:00:28.364 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.519) 0:00:28.883 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008042", "end": "2024-11-23 07:54:48.501427", "rc": 1, "start": "2024-11-23 07:54:48.493385" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.502) 0:00:29.386 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.213) 0:00:29.599 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.620) 0:00:30.220 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.212) 0:00:30.433 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.267) 0:00:30.700 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.250) 0:00:30.951 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.252) 0:00:31.204 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.107) 0:00:31.311 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.088) 0:00:31.400 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.131) 0:00:31.531 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:54:51 -0500 (0:00:01.241) 0:00:32.773 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:54:54 -0500 (0:00:02.074) 0:00:34.847 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.155) 0:00:35.003 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.209) 0:00:35.212 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.153) 0:00:35.366 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.135) 0:00:35.501 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.131) 0:00:35.633 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.143) 0:00:35.776 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.156) 0:00:35.933 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.219) 0:00:36.152 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.224) 0:00:36.377 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.128) 0:00:36.506 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.151) 0:00:36.657 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.103) 0:00:36.761 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.091) 0:00:36.853 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.938) 0:00:37.791 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmphvZlQb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.738) 0:00:38.529 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.745) 0:00:39.275 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.106) 0:00:39.381 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.085) 0:00:39.467 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.193) 0:00:39.661 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.118) 0:00:39.779 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.434) 0:00:40.213 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.124) 0:00:40.338 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.266) 0:00:40.605 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.236) 0:00:40.842 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.789) 0:00:41.631 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.227) 0:00:41.859 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.400) 0:00:42.259 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.230) 0:00:42.490 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366498.3449402, "block_size": 4096, "blocks": 8, "ctime": 1732366498.3449402, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732366498.3449402, "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.827) 0:00:43.317 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.166) 0:00:43.484 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022950", "end": "2024-11-23 07:55:03.072723", "rc": 1, "start": "2024-11-23 07:55:03.049773" } 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.516) 0:00:44.001 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.104) 0:00:44.106 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003808", "end": "2024-11-23 07:55:03.843513", "rc": 0, "start": "2024-11-23 07:55:03.839705" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.782) 0:00:44.889 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.166) 0:00:45.055 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003733", "end": "2024-11-23 07:55:04.624369", "rc": 0, "start": "2024-11-23 07:55:04.620636" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.518) 0:00:45.574 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.219) 0:00:45.794 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.242) 0:00:46.037 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.208) 0:00:46.245 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.252) 0:00:46.497 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.127) 0:00:46.624 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.119) 0:00:46.744 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.250) 0:00:46.995 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046552", "end": "2024-11-23 07:55:06.892491", "rc": 1, "start": "2024-11-23 07:55:06.845939" } 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.885) 0:00:47.881 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.289) 0:00:48.170 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.114) 0:00:48.284 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.276) 0:00:48.561 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.338) 0:00:48.900 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.331) 0:00:49.231 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003741", "end": "2024-11-23 07:55:08.863598", "rc": 0, "start": "2024-11-23 07:55:08.859857" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.551) 0:00:49.783 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.144) 0:00:49.928 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.182) 0:00:50.110 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.273) 0:00:50.384 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.242) 0:00:50.626 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.305) 0:00:50.931 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.239) 0:00:51.170 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.162) 0:00:51.333 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.156) 0:00:51.490 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:12 -0500 (0:00:01.426) 0:00:52.916 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:13 -0500 (0:00:01.539) 0:00:54.456 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.123) 0:00:54.579 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.132) 0:00:54.712 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.143) 0:00:54.855 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.166) 0:00:55.022 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.142) 0:00:55.165 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.264) 0:00:55.429 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.233) 0:00:55.663 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.232) 0:00:55.895 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.141) 0:00:56.037 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.182) 0:00:56.220 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.189) 0:00:56.409 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.159) 0:00:56.569 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.192) 0:00:56.762 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:16 -0500 (0:00:00.770) 0:00:57.532 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmpmcw4Rj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:17 -0500 (0:00:00.462) 0:00:57.994 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.875) 0:00:58.870 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.107) 0:00:58.977 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.137) 0:00:59.115 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.141) 0:00:59.256 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.088) 0:00:59.345 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.816) 0:01:00.162 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.226) 0:01:00.388 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.271) 0:01:00.660 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.462) 0:01:01.122 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.377) 0:01:01.500 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.172) 0:01:01.673 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.143) 0:01:01.816 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.173) 0:01:01.990 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:22 -0500 (0:00:01.164) 0:01:03.155 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:24 -0500 (0:00:01.637) 0:01:04.792 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.143) 0:01:04.936 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.130) 0:01:05.066 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.158) 0:01:05.225 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.146) 0:01:05.371 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.211) 0:01:05.583 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.160) 0:01:05.743 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.218) 0:01:05.962 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.268) 0:01:06.230 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.141) 0:01:06.372 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.136) 0:01:06.508 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.124) 0:01:06.633 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.134) 0:01:06.768 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.081) 0:01:06.849 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.619) 0:01:07.468 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmp2EHfWz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.572) 0:01:08.041 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:28 -0500 (0:00:01.113) 0:01:09.154 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.171) 0:01:09.326 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.143) 0:01:09.469 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.146) 0:01:09.616 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:28 -0500 (0:00:00.137) 0:01:09.753 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.761) 0:01:10.515 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.299) 0:01:10.814 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.302) 0:01:11.117 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366528.0571234, "block_size": 4096, "blocks": 0, "ctime": 1732366528.0561235, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17680, "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": 1732366528.0561235, "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.465) 0:01:11.583 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.087) 0:01:11.670 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.230) 0:01:11.901 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.149) 0:01:12.050 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366527.8691285, "block_size": 4096, "blocks": 8, "ctime": 1732366517.9444015, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732366517.9444015, "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.746) 0:01:12.797 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.175) 0:01:12.972 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025303", "end": "2024-11-23 07:55:32.586691", "rc": 1, "start": "2024-11-23 07:55:32.561388" } 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.663) 0:01:13.636 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.213) 0:01:13.849 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003746", "end": "2024-11-23 07:55:33.695268", "rc": 0, "start": "2024-11-23 07:55:33.691522" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.796) 0:01:14.646 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:34 -0500 (0:00:00.262) 0:01:14.908 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003670", "end": "2024-11-23 07:55:34.691754", "rc": 0, "start": "2024-11-23 07:55:34.688084" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:34 -0500 (0:00:00.756) 0:01:15.665 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:55:35 -0500 (0:00:00.204) 0:01:15.870 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:55:35 -0500 (0:00:00.198) 0:01:16.069 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:55:35 -0500 (0:00:00.169) 0:01:16.238 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:35 -0500 (0:00:00.183) 0:01:16.422 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:35 -0500 (0:00:00.126) 0:01:16.548 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:35 -0500 (0:00:00.142) 0:01:16.690 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.276) 0:01:16.967 ***** ok: [managed-node2] => { "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.052513", "end": "2024-11-23 07:55:36.593248", "rc": 0, "start": "2024-11-23 07:55:36.540735" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.561) 0:01:17.529 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.241) 0:01:17.771 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.115) 0:01:17.886 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.166) 0:01:18.053 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.141) 0:01:18.195 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.204) 0:01:18.400 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003596", "end": "2024-11-23 07:55:37.896593", "rc": 0, "start": "2024-11-23 07:55:37.892997" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.383) 0:01:18.783 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.126) 0:01:18.910 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.135) 0:01:19.045 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.265) 0:01:19.311 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.258) 0:01:19.569 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.273) 0:01:19.842 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.168) 0:01:20.012 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.132) 0:01:20.144 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.132) 0:01:20.277 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:40 -0500 (0:00:01.135) 0:01:21.412 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:42 -0500 (0:00:01.623) 0:01:23.035 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.096) 0:01:23.132 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.089) 0:01:23.221 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.135) 0:01:23.357 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.130) 0:01:23.488 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.128) 0:01:23.617 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.145) 0:01:23.763 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.144) 0:01:23.907 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.243) 0:01:24.151 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.172) 0:01:24.323 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.134) 0:01:24.458 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.199) 0:01:24.657 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.380) 0:01:25.038 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.178) 0:01:25.216 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.890) 0:01:26.107 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmp_waeC6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.552) 0:01:26.660 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:47 -0500 (0:00:01.263) 0:01:27.924 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.247) 0:01:28.171 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.156) 0:01:28.328 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.154) 0:01:28.482 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.107) 0:01:28.590 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.502) 0:01:29.093 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.157) 0:01:29.251 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.274) 0:01:29.526 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.410) 0:01:29.936 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.302) 0:01:30.239 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.221) 0:01:30.461 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.110) 0:01:30.572 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:51 -0500 (0:00:01.500) 0:01:32.072 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:53 -0500 (0:00:01.835) 0:01:33.908 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.150) 0:01:34.059 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.137) 0:01:34.196 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.106) 0:01:34.303 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.101) 0:01:34.405 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.084) 0:01:34.490 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.091) 0:01:34.582 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.152) 0:01:34.735 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.159) 0:01:34.894 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.121) 0:01:35.016 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.203) 0:01:35.219 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.173) 0:01:35.393 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.151) 0:01:35.544 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.166) 0:01:35.710 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.733) 0:01:36.444 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmp7WV4D2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.550) 0:01:36.994 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:57 -0500 (0:00:01.460) 0:01:38.455 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.176) 0:01:38.631 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.235) 0:01:38.867 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.245) 0:01:39.112 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.161) 0:01:39.274 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.494) 0:01:39.769 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 23 November 2024 07:55:59 -0500 (0:00:00.376) 0:01:40.145 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:59 -0500 (0:00:00.399) 0:01:40.545 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.244) 0:01:40.790 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.172) 0:01:40.962 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.200) 0:01:41.162 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.242) 0:01:41.405 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:01 -0500 (0:00:01.229) 0:01:42.634 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:03 -0500 (0:00:01.681) 0:01:44.315 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.124) 0:01:44.440 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.130) 0:01:44.571 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.131) 0:01:44.702 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.141) 0:01:44.843 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.186) 0:01:45.030 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.182) 0:01:45.213 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.144) 0:01:45.358 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.231) 0:01:45.589 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.243) 0:01:45.833 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.270) 0:01:46.103 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.152) 0:01:46.255 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.153) 0:01:46.408 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.146) 0:01:46.555 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:06 -0500 (0:00:01.012) 0:01:47.567 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmpv6cyDJ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.657) 0:01:48.225 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:08 -0500 (0:00:01.234) 0:01:49.459 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.287) 0:01:49.747 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.153) 0:01:49.900 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.146) 0:01:50.047 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.161) 0:01:50.209 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.607) 0:01:50.817 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.278) 0:01:51.095 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:56:10 -0500 (0:00:00.197) 0:01:51.293 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732366557.2943254, "block_size": 4096, "blocks": 0, "ctime": 1732366557.2923255, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17680, "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": 1732366557.2923255, "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.595) 0:01:51.889 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.170) 0:01:52.059 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.248) 0:01:52.308 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.146) 0:01:52.454 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.481) 0:01:52.936 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.131) 0:01:53.068 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023842", "end": "2024-11-23 07:56:12.653295", "rc": 1, "start": "2024-11-23 07:56:12.629453" } 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.711) 0:01:53.779 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.162) 0:01:53.941 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.139) 0:01:54.081 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.152) 0:01:54.233 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.132) 0:01:54.365 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.135) 0:01:54.500 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.120) 0:01:54.621 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.098) 0:01:54.719 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.085) 0:01:54.804 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.181) 0:01:54.986 ***** ok: [managed-node2] => { "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.053923", "end": "2024-11-23 07:56:14.591316", "rc": 0, "start": "2024-11-23 07:56:14.537393" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.590) 0:01:55.576 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.441) 0:01:56.017 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.142) 0:01:56.160 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.312) 0:01:56.472 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.245) 0:01:56.718 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.302) 0:01:57.021 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003751", "end": "2024-11-23 07:56:16.643666", "rc": 0, "start": "2024-11-23 07:56:16.639915" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.583) 0:01:57.604 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.138) 0:01:57.743 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.143) 0:01:57.887 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.312) 0:01:58.200 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.271) 0:01:58.472 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.299) 0:01:58.771 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:18 -0500 (0:00:00.209) 0:01:58.981 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:18 -0500 (0:00:00.132) 0:01:59.113 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:18 -0500 (0:00:00.190) 0:01:59.304 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:19 -0500 (0:00:01.288) 0:02:00.593 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:21 -0500 (0:00:01.931) 0:02:02.525 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.116) 0:02:02.641 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.091) 0:02:02.732 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.118) 0:02:02.851 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.083) 0:02:02.934 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.083) 0:02:03.018 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.092) 0:02:03.110 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.092) 0:02:03.203 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.159) 0:02:03.363 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.127) 0:02:03.490 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.150) 0:02:03.641 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.128) 0:02:03.769 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.106) 0:02:03.876 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.082) 0:02:03.958 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:23 -0500 (0:00:00.536) 0:02:04.495 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmpXHlByn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.453) 0:02:04.949 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.847) 0:02:05.797 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.137) 0:02:05.934 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.144) 0:02:06.079 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.144) 0:02:06.223 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.135) 0:02:06.359 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.463) 0:02:06.822 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.116) 0:02:06.938 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.153) 0:02:07.092 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.238) 0:02:07.331 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.175) 0:02:07.506 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.134) 0:02:07.641 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.227) 0:02:07.868 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:28 -0500 (0:00:01.444) 0:02:09.312 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:30 -0500 (0:00:01.726) 0:02:11.039 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.209) 0:02:11.248 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.144) 0:02:11.392 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.138) 0:02:11.531 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.119) 0:02:11.650 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.115) 0:02:11.766 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.166) 0:02:11.932 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.232) 0:02:12.165 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.265) 0:02:12.430 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.225) 0:02:12.655 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.141) 0:02:12.797 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.159) 0:02:12.956 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.177) 0:02:13.134 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.135) 0:02:13.270 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.759) 0:02:14.030 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmpYlo2R4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.513) 0:02:14.543 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:35 -0500 (0:00:01.497) 0:02:16.040 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:35 -0500 (0:00:00.212) 0:02:16.253 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:35 -0500 (0:00:00.186) 0:02:16.439 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:35 -0500 (0:00:00.168) 0:02:16.607 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:35 -0500 (0:00:00.134) 0:02:16.742 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 23 November 2024 07:56:36 -0500 (0:00:00.587) 0:02:17.330 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:37 -0500 (0:00:00.457) 0:02:17.788 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:37 -0500 (0:00:00.367) 0:02:18.156 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:37 -0500 (0:00:00.251) 0:02:18.407 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:37 -0500 (0:00:00.224) 0:02:18.632 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.167) 0:02:18.799 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:39 -0500 (0:00:01.287) 0:02:20.087 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:40 -0500 (0:00:01.595) 0:02:21.682 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.291) 0:02:21.974 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.276) 0:02:22.250 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.274) 0:02:22.525 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.136) 0:02:22.661 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:42 -0500 (0:00:00.174) 0:02:22.835 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:42 -0500 (0:00:00.142) 0:02:22.978 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:42 -0500 (0:00:00.145) 0:02:23.123 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:42 -0500 (0:00:00.253) 0:02:23.377 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:42 -0500 (0:00:00.251) 0:02:23.628 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:43 -0500 (0:00:00.200) 0:02:23.828 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:43 -0500 (0:00:00.304) 0:02:24.133 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:43 -0500 (0:00:00.225) 0:02:24.359 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:43 -0500 (0:00:00.225) 0:02:24.584 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.772) 0:02:25.357 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmprm690H" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.570) 0:02:25.928 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:46 -0500 (0:00:01.106) 0:02:27.034 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.148) 0:02:27.182 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.244) 0:02:27.427 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.276) 0:02:27.703 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.142) 0:02:27.846 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.623) 0:02:28.469 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.315) 0:02:28.784 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.565) 0:02:29.349 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.398) 0:02:29.748 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:49 -0500 (0:00:00.241) 0:02:29.990 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:49 -0500 (0:00:00.133) 0:02:30.123 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:49 -0500 (0:00:00.133) 0:02:30.257 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:50 -0500 (0:00:01.283) 0:02:31.540 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:52 -0500 (0:00:01.721) 0:02:33.261 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:52 -0500 (0:00:00.274) 0:02:33.536 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:52 -0500 (0:00:00.163) 0:02:33.699 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.135) 0:02:33.834 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.137) 0:02:33.971 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.147) 0:02:34.119 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.153) 0:02:34.273 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.156) 0:02:34.430 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:53 -0500 (0:00:00.271) 0:02:34.702 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.136) 0:02:34.839 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.140) 0:02:34.979 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.162) 0:02:35.142 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.134) 0:02:35.276 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:54 -0500 (0:00:00.148) 0:02:35.425 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:55 -0500 (0:00:00.718) 0:02:36.144 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmp9iDgeg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:55 -0500 (0:00:00.561) 0:02:36.705 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:56 -0500 (0:00:00.978) 0:02:37.684 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:57 -0500 (0:00:00.258) 0:02:37.943 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:57 -0500 (0:00:00.270) 0:02:38.213 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:57 -0500 (0:00:00.298) 0:02:38.512 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:57 -0500 (0:00:00.136) 0:02:38.649 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:56:58 -0500 (0:00:00.470) 0:02:39.119 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:56:58 -0500 (0:00:00.336) 0:02:39.456 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:56:59 -0500 (0:00:00.406) 0:02:39.862 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:56:59 -0500 (0:00:00.193) 0:02:40.055 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:56:59 -0500 (0:00:00.495) 0:02:40.551 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:56:59 -0500 (0:00:00.154) 0:02:40.705 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023640", "end": "2024-11-23 07:57:00.234444", "rc": 1, "start": "2024-11-23 07:57:00.210804" } 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:57:00 -0500 (0:00:00.473) 0:02:41.179 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:57:00 -0500 (0:00:00.134) 0:02:41.313 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:57:00 -0500 (0:00:00.120) 0:02:41.434 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:57:00 -0500 (0:00:00.219) 0:02:41.654 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:57:01 -0500 (0:00:00.141) 0:02:41.795 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:57:01 -0500 (0:00:00.108) 0:02:41.904 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:57:01 -0500 (0:00:00.169) 0:02:42.073 ***** skipping: [managed-node2] => (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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:57:01 -0500 (0:00:00.175) 0:02:42.249 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:57:01 -0500 (0:00:00.125) 0:02:42.375 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:57:01 -0500 (0:00:00.256) 0:02:42.631 ***** ok: [managed-node2] => { "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.054011", "end": "2024-11-23 07:57:02.199355", "rc": 0, "start": "2024-11-23 07:57:02.145344" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 23 November 2024 07:57:02 -0500 (0:00:00.536) 0:02:43.168 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:57:02 -0500 (0:00:00.323) 0:02:43.491 ***** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:57:02 -0500 (0:00:00.138) 0:02:43.629 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:57:03 -0500 (0:00:00.292) 0:02:43.922 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:57:03 -0500 (0:00:00.405) 0:02:44.327 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:57:03 -0500 (0:00:00.239) 0:02:44.566 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003600", "end": "2024-11-23 07:57:04.126288", "rc": 0, "start": "2024-11-23 07:57:04.122688" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:57:04 -0500 (0:00:00.557) 0:02:45.124 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:57:04 -0500 (0:00:00.143) 0:02:45.267 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:57:04 -0500 (0:00:00.241) 0:02:45.508 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:57:05 -0500 (0:00:00.367) 0:02:45.876 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:57:05 -0500 (0:00:00.214) 0:02:46.091 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:57:05 -0500 (0:00:00.340) 0:02:46.431 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:57:05 -0500 (0:00:00.323) 0:02:46.755 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:57:06 -0500 (0:00:00.203) 0:02:46.958 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:57:06 -0500 (0:00:00.154) 0:02:47.112 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:57:07 -0500 (0:00:01.402) 0:02:48.515 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:57:09 -0500 (0:00:01.683) 0:02:50.199 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:57:09 -0500 (0:00:00.173) 0:02:50.373 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:57:09 -0500 (0:00:00.123) 0:02:50.496 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:57:09 -0500 (0:00:00.102) 0:02:50.598 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:57:09 -0500 (0:00:00.096) 0:02:50.695 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:57:10 -0500 (0:00:00.089) 0:02:50.785 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:57:10 -0500 (0:00:00.095) 0:02:50.880 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:57:10 -0500 (0:00:00.091) 0:02:50.972 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:57:10 -0500 (0:00:00.176) 0:02:51.148 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:57:10 -0500 (0:00:00.135) 0:02:51.284 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:57:10 -0500 (0:00:00.111) 0:02:51.396 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:57:10 -0500 (0:00:00.231) 0:02:51.627 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:57:10 -0500 (0:00:00.155) 0:02:51.782 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:57:11 -0500 (0:00:00.134) 0:02:51.917 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:57:11 -0500 (0:00:00.687) 0:02:52.605 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmpKsOEnE" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:57:12 -0500 (0:00:00.570) 0:02:53.175 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:57:13 -0500 (0:00:00.866) 0:02:54.042 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:57:13 -0500 (0:00:00.137) 0:02:54.179 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:57:13 -0500 (0:00:00.135) 0:02:54.315 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:57:13 -0500 (0:00:00.146) 0:02:54.461 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:57:13 -0500 (0:00:00.135) 0:02:54.597 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:57:14 -0500 (0:00:00.432) 0:02:55.029 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:57:14 -0500 (0:00:00.148) 0:02:55.177 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:57:14 -0500 (0:00:00.240) 0:02:55.418 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:57:14 -0500 (0:00:00.280) 0:02:55.698 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:57:15 -0500 (0:00:00.326) 0:02:56.025 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:57:15 -0500 (0:00:00.110) 0:02:56.136 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:57:15 -0500 (0:00:00.084) 0:02:56.220 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:57:16 -0500 (0:00:01.160) 0:02:57.381 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:57:18 -0500 (0:00:01.636) 0:02:59.018 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:57:18 -0500 (0:00:00.234) 0:02:59.252 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:57:18 -0500 (0:00:00.140) 0:02:59.392 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:57:18 -0500 (0:00:00.154) 0:02:59.547 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:57:18 -0500 (0:00:00.138) 0:02:59.686 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:57:19 -0500 (0:00:00.369) 0:03:00.056 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:57:19 -0500 (0:00:00.201) 0:03:00.257 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:57:19 -0500 (0:00:00.146) 0:03:00.403 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:57:19 -0500 (0:00:00.220) 0:03:00.624 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:57:19 -0500 (0:00:00.136) 0:03:00.761 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:57:20 -0500 (0:00:00.142) 0:03:00.903 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:57:20 -0500 (0:00:00.153) 0:03:01.057 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:57:20 -0500 (0:00:00.140) 0:03:01.197 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:57:20 -0500 (0:00:00.143) 0:03:01.341 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:57:21 -0500 (0:00:00.903) 0:03:02.245 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmpxoEFAy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:57:22 -0500 (0:00:00.578) 0:03:02.823 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:57:23 -0500 (0:00:01.347) 0:03:04.171 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:57:23 -0500 (0:00:00.135) 0:03:04.306 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:57:23 -0500 (0:00:00.157) 0:03:04.463 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:57:23 -0500 (0:00:00.190) 0:03:04.654 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:57:24 -0500 (0:00:00.153) 0:03:04.807 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:57:24 -0500 (0:00:00.623) 0:03:05.431 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:57:24 -0500 (0:00:00.163) 0:03:05.594 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:57:25 -0500 (0:00:00.297) 0:03:05.891 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:57:25 -0500 (0:00:00.169) 0:03:06.060 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:57:25 -0500 (0:00:00.131) 0:03:06.192 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:57:25 -0500 (0:00:00.114) 0:03:06.307 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:57:26 -0500 (0:00:01.343) 0:03:07.651 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:57:28 -0500 (0:00:01.696) 0:03:09.347 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:57:28 -0500 (0:00:00.137) 0:03:09.484 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:57:28 -0500 (0:00:00.224) 0:03:09.709 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:57:29 -0500 (0:00:00.160) 0:03:09.870 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:57:29 -0500 (0:00:00.126) 0:03:09.996 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:57:29 -0500 (0:00:00.090) 0:03:10.087 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:57:29 -0500 (0:00:00.151) 0:03:10.239 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:57:29 -0500 (0:00:00.171) 0:03:10.410 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:57:29 -0500 (0:00:00.229) 0:03:10.639 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:57:29 -0500 (0:00:00.144) 0:03:10.784 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:57:30 -0500 (0:00:00.097) 0:03:10.882 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:57:30 -0500 (0:00:00.140) 0:03:11.022 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:57:30 -0500 (0:00:00.136) 0:03:11.159 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:57:30 -0500 (0:00:00.131) 0:03:11.291 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:57:31 -0500 (0:00:00.751) 0:03:12.043 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmpGHzPhY" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:57:31 -0500 (0:00:00.612) 0:03:12.655 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:57:32 -0500 (0:00:01.098) 0:03:13.753 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:57:33 -0500 (0:00:00.137) 0:03:13.891 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:57:33 -0500 (0:00:00.167) 0:03:14.058 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:57:33 -0500 (0:00:00.104) 0:03:14.163 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:57:33 -0500 (0:00:00.097) 0:03:14.261 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:57:34 -0500 (0:00:00.546) 0:03:14.807 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:57:34 -0500 (0:00:00.167) 0:03:14.975 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:57:34 -0500 (0:00:00.269) 0:03:15.244 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:57:34 -0500 (0:00:00.299) 0:03:15.544 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:57:34 -0500 (0:00:00.135) 0:03:15.679 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:57:35 -0500 (0:00:00.111) 0:03:15.791 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:57:35 -0500 (0:00:00.133) 0:03:15.925 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:57:36 -0500 (0:00:01.198) 0:03:17.123 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:57:37 -0500 (0:00:01.639) 0:03:18.763 ***** ok: [managed-node2] => {} 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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:57:38 -0500 (0:00:00.172) 0:03:18.935 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:57:38 -0500 (0:00:00.146) 0:03:19.082 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:57:38 -0500 (0:00:00.136) 0:03:19.218 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:57:38 -0500 (0:00:00.128) 0:03:19.346 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:57:38 -0500 (0:00:00.126) 0:03:19.473 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:57:38 -0500 (0:00:00.097) 0:03:19.570 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:57:38 -0500 (0:00:00.116) 0:03:19.687 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:57:39 -0500 (0:00:00.331) 0:03:20.019 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:57:39 -0500 (0:00:00.177) 0:03:20.196 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:57:39 -0500 (0:00:00.188) 0:03:20.385 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:57:39 -0500 (0:00:00.145) 0:03:20.530 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:57:39 -0500 (0:00:00.196) 0:03:20.727 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:57:40 -0500 (0:00:00.101) 0:03:20.828 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:57:40 -0500 (0:00:00.615) 0:03:21.443 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17158kueZWE/tmpYw9b01" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:57:41 -0500 (0:00:00.528) 0:03:21.972 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:57:42 -0500 (0:00:00.919) 0:03:22.892 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:57:42 -0500 (0:00:00.196) 0:03:23.088 ***** ok: [managed-node2] => { "__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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:57:42 -0500 (0:00:00.193) 0:03:23.282 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:57:42 -0500 (0:00:00.307) 0:03:23.589 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:57:43 -0500 (0:00:00.211) 0:03:23.801 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:57:43 -0500 (0:00:00.649) 0:03:24.450 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:57:43 -0500 (0:00:00.236) 0:03:24.686 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:57:44 -0500 (0:00:00.167) 0:03:24.854 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:57:44 -0500 (0:00:00.133) 0:03:24.987 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:57:44 -0500 (0:00:00.698) 0:03:25.686 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:57:45 -0500 (0:00:00.198) 0:03:25.885 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023878", "end": "2024-11-23 07:57:45.461433", "rc": 1, "start": "2024-11-23 07:57:45.437555" } 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:57:45 -0500 (0:00:00.552) 0:03:26.437 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:57:45 -0500 (0:00:00.126) 0:03:26.563 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:57:45 -0500 (0:00:00.093) 0:03:26.656 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:57:45 -0500 (0:00:00.124) 0:03:26.780 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:57:46 -0500 (0:00:00.155) 0:03:26.936 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:57:46 -0500 (0:00:00.151) 0:03:27.088 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 23 November 2024 07:57:46 -0500 (0:00:00.146) 0:03:27.235 ***** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.701505", "end": "2024-11-23 07:57:47.524830", "rc": 0, "start": "2024-11-23 07:57:46.823325" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 23 November 2024 07:57:47 -0500 (0:00:01.181) 0:03:28.416 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.088) 0:03:28.505 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.087) 0:03:28.592 ***** skipping: [managed-node2] => (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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.093) 0:03:28.686 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.088) 0:03:28.775 ***** included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:57:48 -0500 (0:00:00.246) 0:03:29.021 ***** ok: [managed-node2] => { "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.053870", "end": "2024-11-23 07:57:48.573349", "rc": 0, "start": "2024-11-23 07:57:48.519479" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 23 November 2024 07:57:48 -0500 (0:00:00.439) 0:03:29.461 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008184", "end": "2024-11-23 07:57:48.967080", "rc": 0, "start": "2024-11-23 07:57:48.958896" } 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 0e:17:d3:ee:de:3b brd ff:ff:ff:ff:ff:ff inet 10.31.43.223/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 2298sec preferred_lft 2298sec inet6 fe80::c17:d3ff:feee:de3b/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ce:f3:a2:db:19:f1 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.223 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-ixH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 23 November 2024 07:57:49 -0500 (0:00:00.393) 0:03:29.855 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.443606", "end": "2024-11-23 07:57:49.825275", "rc": 0, "start": "2024-11-23 07:57:49.381669" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1903 0 --:--:-- --:--:-- --:--:-- 1894 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1113 0 --:--:-- --:--:-- --:--:-- 1114 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=337 changed=13 unreachable=0 failed=0 skipped=285 rescued=0 ignored=10 Saturday 23 November 2024 07:57:49 -0500 (0:00:00.801) 0:03:30.656 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.07s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.94s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.93s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.84s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-ixH/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-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.45s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.43s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.42s /tmp/collections-ixH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21