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-zFg/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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 10 August 2024 09:09:20 -0400 (0:00:00.027) 0:00:00.027 ******* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 10 August 2024 09:09:21 -0400 (0:00:00.993) 0:00:01.020 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 10 August 2024 09:09:22 -0400 (0:00:00.097) 0:00:01.118 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 10 August 2024 09:09:22 -0400 (0:00:00.416) 0:00:01.535 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 10 August 2024 09:09:22 -0400 (0:00:00.455) 0:00:01.991 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 10 August 2024 09:09:23 -0400 (0:00:00.055) 0:00:02.046 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 10 August 2024 09:09:23 -0400 (0:00:00.051) 0:00:02.097 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 10 August 2024 09:09:23 -0400 (0:00:00.087) 0:00:02.185 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 10 August 2024 09:09:23 -0400 (0:00:00.400) 0:00:02.585 ******* ok: [managed_node1] => { "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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 10 August 2024 09:09:24 -0400 (0:00:00.827) 0:00:03.413 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177017", "end": "2024-08-10 09:09:24.810978", "rc": 0, "start": "2024-08-10 09:09:24.633961" } 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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 10 August 2024 09:09:24 -0400 (0:00:00.479) 0:00:03.892 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 10 August 2024 09:09:24 -0400 (0:00:00.030) 0:00:03.923 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 10 August 2024 09:09:24 -0400 (0:00:00.027) 0:00:03.950 ******* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 10 August 2024 09:09:24 -0400 (0:00:00.030) 0:00:03.981 ******* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 10 August 2024 09:09:25 -0400 (0:00:00.580) 0:00:04.561 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 10 August 2024 09:09:25 -0400 (0:00:00.031) 0:00:04.593 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:09:25 -0400 (0:00:00.048) 0:00:04.641 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:09:25 -0400 (0:00:00.032) 0:00:04.674 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:09:25 -0400 (0:00:00.100) 0:00:04.774 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:09:25 -0400 (0:00:00.043) 0:00:04.818 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:09:25 -0400 (0:00:00.039) 0:00:04.857 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003220", "end": "2024-08-10 09:09:26.083747", "rc": 0, "start": "2024-08-10 09:09:26.080527" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:09:26 -0400 (0:00:00.307) 0:00:05.165 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:09:26 -0400 (0:00:00.034) 0:00:05.199 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:09:26 -0400 (0:00:00.032) 0:00:05.231 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 10 August 2024 09:09:26 -0400 (0:00:00.060) 0:00:05.291 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007731", "end": "2024-08-10 09:09:26.525734", "rc": 1, "start": "2024-08-10 09:09:26.518003" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 August 2024 09:09:26 -0400 (0:00:00.311) 0:00:05.603 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:09:26 -0400 (0:00:00.043) 0:00:05.647 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 August 2024 09:09:26 -0400 (0:00:00.307) 0:00:05.955 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:09:26 -0400 (0:00:00.036) 0:00:05.992 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:09:27 -0400 (0:00:00.054) 0:00:06.046 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:09:27 -0400 (0:00:00.172) 0:00:06.218 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:09:27 -0400 (0:00:00.063) 0:00:06.282 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:09:27 -0400 (0:00:00.034) 0:00:06.317 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:09:27 -0400 (0:00:00.031) 0:00:06.348 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:09:27 -0400 (0:00:00.030) 0:00:06.379 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:09:28 -0400 (0:00:01.017) 0:00:07.396 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:09:29 -0400 (0:00:01.503) 0:00:08.900 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:09:29 -0400 (0:00:00.078) 0:00:08.979 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.076) 0:00:09.055 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.074) 0:00:09.129 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.077) 0:00:09.206 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.075) 0:00:09.282 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.125) 0:00:09.408 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.082) 0:00:09.490 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.133) 0:00:09.624 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.076) 0:00:09.701 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.075) 0:00:09.776 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.083) 0:00:09.860 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.075) 0:00:09.935 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:09:30 -0400 (0:00:00.076) 0:00:10.012 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:09:31 -0400 (0:00:00.789) 0:00:10.801 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmp8R_dbg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:09:32 -0400 (0:00:00.366) 0:00:11.168 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:09:32 -0400 (0:00:00.830) 0:00:11.999 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:09:33 -0400 (0:00:00.076) 0:00:12.076 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:09:33 -0400 (0:00:00.082) 0:00:12.158 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:09:33 -0400 (0:00:00.129) 0:00:12.287 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:09:33 -0400 (0:00:00.075) 0:00:12.363 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:09:33 -0400 (0:00:00.445) 0:00:12.809 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:09:33 -0400 (0:00:00.082) 0:00:12.891 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 August 2024 09:09:34 -0400 (0:00:00.143) 0:00:13.035 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:09:34 -0400 (0:00:00.137) 0:00:13.173 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:09:34 -0400 (0:00:00.079) 0:00:13.252 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295372.8683372, "block_size": 4096, "blocks": 8, "ctime": 1723295372.8683372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723295372.8683372, "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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:09:34 -0400 (0:00:00.359) 0:00:13.612 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:09:34 -0400 (0:00:00.079) 0:00:13.691 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023353", "end": "2024-08-10 09:09:34.943192", "rc": 1, "start": "2024-08-10 09:09:34.919839" } 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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:09:35 -0400 (0:00:00.374) 0:00:14.066 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:09:35 -0400 (0:00:00.076) 0:00:14.142 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003108", "end": "2024-08-10 09:09:35.374685", "rc": 0, "start": "2024-08-10 09:09:35.371577" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:09:35 -0400 (0:00:00.355) 0:00:14.498 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:09:35 -0400 (0:00:00.137) 0:00:14.636 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003317", "end": "2024-08-10 09:09:35.875080", "rc": 0, "start": "2024-08-10 09:09:35.871763" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:09:35 -0400 (0:00:00.365) 0:00:15.001 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 August 2024 09:09:36 -0400 (0:00:00.090) 0:00:15.091 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 August 2024 09:09:36 -0400 (0:00:00.082) 0:00:15.173 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 August 2024 09:09:36 -0400 (0:00:00.084) 0:00:15.257 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:09:36 -0400 (0:00:00.080) 0:00:15.337 ******* skipping: [managed_node1] => (item={u'what': u'tasks/assert_device_present.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:09:36 -0400 (0:00:00.086) 0:00:15.423 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:09:36 -0400 (0:00:00.079) 0:00:15.503 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:09:36 -0400 (0:00:00.144) 0:00:15.647 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046717", "end": "2024-08-10 09:09:36.922755", "rc": 1, "start": "2024-08-10 09:09:36.876038" } 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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 10 August 2024 09:09:37 -0400 (0:00:00.399) 0:00:16.047 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:09:37 -0400 (0:00:00.135) 0:00:16.182 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:09:37 -0400 (0:00:00.079) 0:00:16.262 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:09:37 -0400 (0:00:00.153) 0:00:16.415 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:09:37 -0400 (0:00:00.177) 0:00:16.592 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:09:37 -0400 (0:00:00.126) 0:00:16.719 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003328", "end": "2024-08-10 09:09:37.963442", "rc": 0, "start": "2024-08-10 09:09:37.960114" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:09:38 -0400 (0:00:00.369) 0:00:17.089 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:09:38 -0400 (0:00:00.078) 0:00:17.168 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:09:38 -0400 (0:00:00.076) 0:00:17.245 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 10 August 2024 09:09:38 -0400 (0:00:00.152) 0:00:17.397 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006747", "end": "2024-08-10 09:09:38.627946", "rc": 1, "start": "2024-08-10 09:09:38.621199" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 August 2024 09:09:38 -0400 (0:00:00.352) 0:00:17.750 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:09:38 -0400 (0:00:00.128) 0:00:17.878 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 August 2024 09:09:39 -0400 (0:00:00.349) 0:00:18.228 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:09:39 -0400 (0:00:00.083) 0:00:18.311 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 10 August 2024 09:09:39 -0400 (0:00:00.141) 0:00:18.453 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:09:39 -0400 (0:00:00.202) 0:00:18.655 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:09:39 -0400 (0:00:00.152) 0:00:18.808 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:09:39 -0400 (0:00:00.097) 0:00:18.905 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:09:39 -0400 (0:00:00.077) 0:00:18.982 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:09:40 -0400 (0:00:00.077) 0:00:19.060 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:09:40 -0400 (0:00:00.919) 0:00:19.979 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:09:42 -0400 (0:00:01.380) 0:00:21.359 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:09:42 -0400 (0:00:00.079) 0:00:21.439 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:09:42 -0400 (0:00:00.078) 0:00:21.518 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:09:42 -0400 (0:00:00.076) 0:00:21.594 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:09:42 -0400 (0:00:00.076) 0:00:21.671 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:09:42 -0400 (0:00:00.079) 0:00:21.750 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:09:42 -0400 (0:00:00.085) 0:00:21.836 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:09:42 -0400 (0:00:00.085) 0:00:21.921 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:09:43 -0400 (0:00:00.135) 0:00:22.057 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:09:43 -0400 (0:00:00.077) 0:00:22.134 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:09:43 -0400 (0:00:00.077) 0:00:22.211 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:09:43 -0400 (0:00:00.081) 0:00:22.293 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:09:43 -0400 (0:00:00.079) 0:00:22.372 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:09:43 -0400 (0:00:00.077) 0:00:22.450 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:09:43 -0400 (0:00:00.512) 0:00:22.962 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmpMKArOg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:09:44 -0400 (0:00:00.429) 0:00:23.392 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:09:44 -0400 (0:00:00.593) 0:00:23.985 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:09:45 -0400 (0:00:00.075) 0:00:24.061 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:09:45 -0400 (0:00:00.083) 0:00:24.144 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:09:45 -0400 (0:00:00.082) 0:00:24.227 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:09:45 -0400 (0:00:00.076) 0:00:24.304 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 10 August 2024 09:09:45 -0400 (0:00:00.343) 0:00:24.647 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:09:45 -0400 (0:00:00.083) 0:00:24.730 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 August 2024 09:09:45 -0400 (0:00:00.155) 0:00:24.886 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:09:45 -0400 (0:00:00.129) 0:00:25.015 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 August 2024 09:09:46 -0400 (0:00:00.364) 0:00:25.379 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 August 2024 09:09:46 -0400 (0:00:00.082) 0:00:25.462 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:09:46 -0400 (0:00:00.186) 0:00:25.648 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:09:46 -0400 (0:00:00.079) 0:00:25.728 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295384.8553689, "block_size": 4096, "blocks": 8, "ctime": 1723295384.8553689, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723295384.8553689, "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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:09:47 -0400 (0:00:00.365) 0:00:26.094 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:09:47 -0400 (0:00:00.079) 0:00:26.174 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024473", "end": "2024-08-10 09:09:47.427806", "rc": 1, "start": "2024-08-10 09:09:47.403333" } 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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:09:47 -0400 (0:00:00.392) 0:00:26.566 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:09:47 -0400 (0:00:00.078) 0:00:26.645 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003153", "end": "2024-08-10 09:09:47.886305", "rc": 0, "start": "2024-08-10 09:09:47.883152" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:09:47 -0400 (0:00:00.366) 0:00:27.012 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:09:48 -0400 (0:00:00.090) 0:00:27.102 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003078", "end": "2024-08-10 09:09:48.360627", "rc": 0, "start": "2024-08-10 09:09:48.357549" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:09:48 -0400 (0:00:00.385) 0:00:27.488 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 August 2024 09:09:48 -0400 (0:00:00.091) 0:00:27.580 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 August 2024 09:09:48 -0400 (0:00:00.083) 0:00:27.663 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 August 2024 09:09:48 -0400 (0:00:00.086) 0:00:27.750 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:09:48 -0400 (0:00:00.083) 0:00:27.833 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:09:48 -0400 (0:00:00.070) 0:00:27.904 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:09:49 -0400 (0:00:00.132) 0:00:28.037 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:09:49 -0400 (0:00:00.146) 0:00:28.183 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046240", "end": "2024-08-10 09:09:49.458219", "rc": 1, "start": "2024-08-10 09:09:49.411979" } 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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 10 August 2024 09:09:49 -0400 (0:00:00.399) 0:00:28.583 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:09:49 -0400 (0:00:00.136) 0:00:28.720 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:09:49 -0400 (0:00:00.082) 0:00:28.802 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:09:49 -0400 (0:00:00.157) 0:00:28.960 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:09:50 -0400 (0:00:00.130) 0:00:29.091 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:09:50 -0400 (0:00:00.128) 0:00:29.219 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003195", "end": "2024-08-10 09:09:50.447159", "rc": 0, "start": "2024-08-10 09:09:50.443964" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:09:50 -0400 (0:00:00.352) 0:00:29.571 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:09:50 -0400 (0:00:00.081) 0:00:29.653 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:09:50 -0400 (0:00:00.079) 0:00:29.733 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:09:50 -0400 (0:00:00.140) 0:00:29.873 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:09:51 -0400 (0:00:00.184) 0:00:30.058 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:09:51 -0400 (0:00:00.149) 0:00:30.207 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:09:51 -0400 (0:00:00.100) 0:00:30.308 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:09:51 -0400 (0:00:00.075) 0:00:30.383 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:09:51 -0400 (0:00:00.076) 0:00:30.460 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:09:52 -0400 (0:00:00.924) 0:00:31.384 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:09:53 -0400 (0:00:01.377) 0:00:32.761 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:09:53 -0400 (0:00:00.083) 0:00:32.845 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:09:53 -0400 (0:00:00.077) 0:00:32.922 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:09:53 -0400 (0:00:00.081) 0:00:33.004 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.078) 0:00:33.082 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.079) 0:00:33.162 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.084) 0:00:33.246 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.083) 0:00:33.330 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.139) 0:00:33.469 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.075) 0:00:33.545 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.078) 0:00:33.623 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.082) 0:00:33.705 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.075) 0:00:33.781 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:09:54 -0400 (0:00:00.075) 0:00:33.857 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:09:55 -0400 (0:00:00.493) 0:00:34.351 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmp1FYlFB" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:09:55 -0400 (0:00:00.376) 0:00:34.728 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:09:56 -0400 (0:00:00.601) 0:00:35.330 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:09:56 -0400 (0:00:00.075) 0:00:35.405 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:09:56 -0400 (0:00:00.082) 0:00:35.488 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:09:56 -0400 (0:00:00.085) 0:00:35.573 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:09:56 -0400 (0:00:00.075) 0:00:35.649 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:09:56 -0400 (0:00:00.355) 0:00:36.004 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:09:57 -0400 (0:00:00.081) 0:00:36.086 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 10 August 2024 09:09:57 -0400 (0:00:00.140) 0:00:36.227 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:09:57 -0400 (0:00:00.155) 0:00:36.382 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:09:57 -0400 (0:00:00.150) 0:00:36.533 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:09:57 -0400 (0:00:00.098) 0:00:36.632 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:09:57 -0400 (0:00:00.124) 0:00:36.756 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:09:57 -0400 (0:00:00.078) 0:00:36.835 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:09:58 -0400 (0:00:00.938) 0:00:37.773 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:10:00 -0400 (0:00:01.272) 0:00:39.046 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.081) 0:00:39.127 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.078) 0:00:39.206 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.077) 0:00:39.283 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.120) 0:00:39.404 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.081) 0:00:39.486 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.085) 0:00:39.571 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.085) 0:00:39.657 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.138) 0:00:39.795 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.078) 0:00:39.874 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:10:00 -0400 (0:00:00.078) 0:00:39.953 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:10:01 -0400 (0:00:00.082) 0:00:40.036 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:10:01 -0400 (0:00:00.079) 0:00:40.116 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:10:01 -0400 (0:00:00.077) 0:00:40.193 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:10:01 -0400 (0:00:00.548) 0:00:40.742 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmpkI4krz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:10:02 -0400 (0:00:00.414) 0:00:41.157 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:10:03 -0400 (0:00:00.991) 0:00:42.148 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:10:03 -0400 (0:00:00.077) 0:00:42.225 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:10:03 -0400 (0:00:00.084) 0:00:42.309 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:10:03 -0400 (0:00:00.082) 0:00:42.392 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:10:03 -0400 (0:00:00.077) 0:00:42.469 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:10:03 -0400 (0:00:00.356) 0:00:42.825 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 10 August 2024 09:10:03 -0400 (0:00:00.158) 0:00:42.984 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:10:04 -0400 (0:00:00.133) 0:00:43.117 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295402.9004164, "block_size": 4096, "blocks": 0, "ctime": 1723295402.8984163, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17770, "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": 1723295402.8984163, "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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 10 August 2024 09:10:04 -0400 (0:00:00.366) 0:00:43.484 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 August 2024 09:10:04 -0400 (0:00:00.083) 0:00:43.567 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:10:04 -0400 (0:00:00.143) 0:00:43.710 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:10:04 -0400 (0:00:00.080) 0:00:43.790 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295402.7264159, "block_size": 4096, "blocks": 8, "ctime": 1723295396.2013986, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723295396.2013986, "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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:10:05 -0400 (0:00:00.362) 0:00:44.152 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:10:05 -0400 (0:00:00.137) 0:00:44.290 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023386", "end": "2024-08-10 09:10:05.550515", "rc": 1, "start": "2024-08-10 09:10:05.527129" } 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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:10:05 -0400 (0:00:00.389) 0:00:44.679 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:10:05 -0400 (0:00:00.081) 0:00:44.761 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003252", "end": "2024-08-10 09:10:06.009757", "rc": 0, "start": "2024-08-10 09:10:06.006505" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:10:06 -0400 (0:00:00.385) 0:00:45.147 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:10:06 -0400 (0:00:00.093) 0:00:45.240 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003213", "end": "2024-08-10 09:10:06.491498", "rc": 0, "start": "2024-08-10 09:10:06.488285" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:10:06 -0400 (0:00:00.389) 0:00:45.630 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 August 2024 09:10:06 -0400 (0:00:00.091) 0:00:45.722 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 August 2024 09:10:06 -0400 (0:00:00.086) 0:00:45.808 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 August 2024 09:10:06 -0400 (0:00:00.086) 0:00:45.894 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:10:06 -0400 (0:00:00.082) 0:00:45.977 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:10:07 -0400 (0:00:00.073) 0:00:46.050 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:10:07 -0400 (0:00:00.081) 0:00:46.131 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:10:07 -0400 (0:00:00.149) 0:00:46.281 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.049570", "end": "2024-08-10 09:10:07.557088", "rc": 0, "start": "2024-08-10 09:10:07.507518" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 10 August 2024 09:10:07 -0400 (0:00:00.456) 0:00:46.737 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:10:07 -0400 (0:00:00.138) 0:00:46.876 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:10:07 -0400 (0:00:00.082) 0:00:46.958 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:10:08 -0400 (0:00:00.152) 0:00:47.111 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:10:08 -0400 (0:00:00.133) 0:00:47.244 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:10:08 -0400 (0:00:00.129) 0:00:47.374 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003172", "end": "2024-08-10 09:10:08.605709", "rc": 0, "start": "2024-08-10 09:10:08.602537" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:10:08 -0400 (0:00:00.357) 0:00:47.731 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:10:08 -0400 (0:00:00.079) 0:00:47.811 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:10:08 -0400 (0:00:00.081) 0:00:47.892 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:10:09 -0400 (0:00:00.152) 0:00:48.045 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:10:09 -0400 (0:00:00.137) 0:00:48.182 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:10:09 -0400 (0:00:00.206) 0:00:48.388 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:10:09 -0400 (0:00:00.104) 0:00:48.493 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:10:09 -0400 (0:00:00.081) 0:00:48.574 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:10:09 -0400 (0:00:00.079) 0:00:48.654 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:10:10 -0400 (0:00:00.928) 0:00:49.582 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:10:11 -0400 (0:00:01.281) 0:00:50.864 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:10:11 -0400 (0:00:00.081) 0:00:50.945 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.126) 0:00:51.072 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.078) 0:00:51.151 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.080) 0:00:51.231 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.077) 0:00:51.309 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.088) 0:00:51.397 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.086) 0:00:51.484 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.136) 0:00:51.620 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.078) 0:00:51.698 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.077) 0:00:51.776 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.085) 0:00:51.861 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.079) 0:00:51.940 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:10:12 -0400 (0:00:00.077) 0:00:52.017 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:10:13 -0400 (0:00:00.503) 0:00:52.521 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmp7EQUZK" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:10:13 -0400 (0:00:00.367) 0:00:52.889 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:10:14 -0400 (0:00:00.669) 0:00:53.558 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:10:14 -0400 (0:00:00.125) 0:00:53.683 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:10:14 -0400 (0:00:00.084) 0:00:53.767 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:10:14 -0400 (0:00:00.083) 0:00:53.850 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:10:14 -0400 (0:00:00.079) 0:00:53.930 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:10:15 -0400 (0:00:00.356) 0:00:54.287 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 10 August 2024 09:10:15 -0400 (0:00:00.083) 0:00:54.370 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:10:15 -0400 (0:00:00.131) 0:00:54.502 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:10:15 -0400 (0:00:00.151) 0:00:54.653 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:10:15 -0400 (0:00:00.101) 0:00:54.755 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:10:15 -0400 (0:00:00.076) 0:00:54.832 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:10:15 -0400 (0:00:00.077) 0:00:54.910 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:10:16 -0400 (0:00:00.991) 0:00:55.901 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:10:18 -0400 (0:00:01.274) 0:00:57.176 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:10:18 -0400 (0:00:00.083) 0:00:57.259 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:10:18 -0400 (0:00:00.077) 0:00:57.336 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:10:18 -0400 (0:00:00.079) 0:00:57.416 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:10:18 -0400 (0:00:00.077) 0:00:57.493 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:10:18 -0400 (0:00:00.080) 0:00:57.573 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:10:18 -0400 (0:00:00.088) 0:00:57.661 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:10:18 -0400 (0:00:00.083) 0:00:57.745 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:10:18 -0400 (0:00:00.140) 0:00:57.886 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:10:18 -0400 (0:00:00.076) 0:00:57.962 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:10:19 -0400 (0:00:00.125) 0:00:58.088 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:10:19 -0400 (0:00:00.087) 0:00:58.175 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:10:19 -0400 (0:00:00.078) 0:00:58.254 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:10:19 -0400 (0:00:00.079) 0:00:58.333 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:10:19 -0400 (0:00:00.498) 0:00:58.831 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmpFbAiUy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:10:20 -0400 (0:00:00.381) 0:00:59.213 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:10:21 -0400 (0:00:00.843) 0:01:00.056 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:10:21 -0400 (0:00:00.077) 0:01:00.134 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:10:21 -0400 (0:00:00.084) 0:01:00.218 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:10:21 -0400 (0:00:00.082) 0:01:00.301 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:10:21 -0400 (0:00:00.077) 0:01:00.378 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:10:21 -0400 (0:00:00.354) 0:01:00.733 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 10 August 2024 09:10:21 -0400 (0:00:00.195) 0:01:00.928 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:10:22 -0400 (0:00:00.158) 0:01:01.086 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:10:22 -0400 (0:00:00.151) 0:01:01.238 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:10:22 -0400 (0:00:00.105) 0:01:01.343 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:10:22 -0400 (0:00:00.077) 0:01:01.421 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:10:22 -0400 (0:00:00.079) 0:01:01.501 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:10:23 -0400 (0:00:00.925) 0:01:02.426 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:10:24 -0400 (0:00:01.393) 0:01:03.819 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:10:24 -0400 (0:00:00.083) 0:01:03.902 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:10:24 -0400 (0:00:00.080) 0:01:03.983 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.080) 0:01:04.063 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.078) 0:01:04.141 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.080) 0:01:04.222 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.087) 0:01:04.310 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.087) 0:01:04.397 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.144) 0:01:04.541 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.077) 0:01:04.619 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.079) 0:01:04.699 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.084) 0:01:04.783 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.079) 0:01:04.863 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:10:25 -0400 (0:00:00.079) 0:01:04.942 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:10:26 -0400 (0:00:00.565) 0:01:05.507 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmpj3kaXT" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:10:26 -0400 (0:00:00.380) 0:01:05.888 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:10:27 -0400 (0:00:00.603) 0:01:06.492 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:10:27 -0400 (0:00:00.076) 0:01:06.568 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:10:27 -0400 (0:00:00.082) 0:01:06.651 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:10:27 -0400 (0:00:00.084) 0:01:06.736 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:10:27 -0400 (0:00:00.076) 0:01:06.812 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:10:28 -0400 (0:00:00.344) 0:01:07.157 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 10 August 2024 09:10:28 -0400 (0:00:00.158) 0:01:07.316 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:10:28 -0400 (0:00:00.130) 0:01:07.446 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295420.8604636, "block_size": 4096, "blocks": 0, "ctime": 1723295420.8584638, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17770, "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": 1723295420.8584638, "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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 10 August 2024 09:10:28 -0400 (0:00:00.364) 0:01:07.811 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 10 August 2024 09:10:28 -0400 (0:00:00.083) 0:01:07.895 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:10:29 -0400 (0:00:00.187) 0:01:08.082 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:10:29 -0400 (0:00:00.079) 0:01:08.162 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:10:29 -0400 (0:00:00.360) 0:01:08.522 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:10:29 -0400 (0:00:00.076) 0:01:08.599 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023163", "end": "2024-08-10 09:10:29.873809", "rc": 1, "start": "2024-08-10 09:10:29.850646" } 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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:10:29 -0400 (0:00:00.403) 0:01:09.002 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:10:30 -0400 (0:00:00.080) 0:01:09.082 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:10:30 -0400 (0:00:00.079) 0:01:09.162 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:10:30 -0400 (0:00:00.080) 0:01:09.243 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:10:30 -0400 (0:00:00.081) 0:01:09.324 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 10 August 2024 09:10:30 -0400 (0:00:00.078) 0:01:09.403 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:10:30 -0400 (0:00:00.087) 0:01:09.490 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:10:30 -0400 (0:00:00.071) 0:01:09.562 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:10:30 -0400 (0:00:00.081) 0:01:09.643 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:10:30 -0400 (0:00:00.146) 0:01:09.790 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050397", "end": "2024-08-10 09:10:31.068104", "rc": 0, "start": "2024-08-10 09:10:31.017707" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 10 August 2024 09:10:31 -0400 (0:00:00.403) 0:01:10.193 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:10:31 -0400 (0:00:00.140) 0:01:10.334 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:10:31 -0400 (0:00:00.080) 0:01:10.415 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:10:31 -0400 (0:00:00.156) 0:01:10.571 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:10:31 -0400 (0:00:00.132) 0:01:10.704 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:10:31 -0400 (0:00:00.128) 0:01:10.833 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003363", "end": "2024-08-10 09:10:32.073075", "rc": 0, "start": "2024-08-10 09:10:32.069712" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:10:32 -0400 (0:00:00.373) 0:01:11.207 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:10:32 -0400 (0:00:00.080) 0:01:11.287 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:10:32 -0400 (0:00:00.081) 0:01:11.369 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:10:32 -0400 (0:00:00.158) 0:01:11.528 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:10:32 -0400 (0:00:00.134) 0:01:11.662 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:10:32 -0400 (0:00:00.199) 0:01:11.862 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:10:32 -0400 (0:00:00.103) 0:01:11.966 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:10:33 -0400 (0:00:00.078) 0:01:12.045 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:10:33 -0400 (0:00:00.076) 0:01:12.121 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:10:34 -0400 (0:00:00.942) 0:01:13.063 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:10:35 -0400 (0:00:01.285) 0:01:14.349 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:10:35 -0400 (0:00:00.132) 0:01:14.481 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:10:35 -0400 (0:00:00.081) 0:01:14.562 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:10:35 -0400 (0:00:00.078) 0:01:14.641 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:10:35 -0400 (0:00:00.079) 0:01:14.720 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:10:35 -0400 (0:00:00.078) 0:01:14.799 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:10:35 -0400 (0:00:00.087) 0:01:14.887 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:10:35 -0400 (0:00:00.083) 0:01:14.971 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:10:36 -0400 (0:00:00.140) 0:01:15.111 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:10:36 -0400 (0:00:00.078) 0:01:15.190 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:10:36 -0400 (0:00:00.076) 0:01:15.266 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:10:36 -0400 (0:00:00.084) 0:01:15.351 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:10:36 -0400 (0:00:00.077) 0:01:15.428 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:10:36 -0400 (0:00:00.077) 0:01:15.506 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:10:36 -0400 (0:00:00.508) 0:01:16.014 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmpMljGG8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:10:37 -0400 (0:00:00.359) 0:01:16.374 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:10:37 -0400 (0:00:00.651) 0:01:17.025 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:10:38 -0400 (0:00:00.077) 0:01:17.103 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:10:38 -0400 (0:00:00.083) 0:01:17.187 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:10:38 -0400 (0:00:00.082) 0:01:17.270 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:10:38 -0400 (0:00:00.078) 0:01:17.349 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:10:38 -0400 (0:00:00.345) 0:01:17.694 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 10 August 2024 09:10:38 -0400 (0:00:00.081) 0:01:17.776 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:10:38 -0400 (0:00:00.137) 0:01:17.914 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:10:39 -0400 (0:00:00.150) 0:01:18.065 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:10:39 -0400 (0:00:00.103) 0:01:18.168 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:10:39 -0400 (0:00:00.076) 0:01:18.244 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:10:39 -0400 (0:00:00.077) 0:01:18.322 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:10:40 -0400 (0:00:00.952) 0:01:19.274 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:10:41 -0400 (0:00:01.275) 0:01:20.549 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:10:41 -0400 (0:00:00.082) 0:01:20.632 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:10:41 -0400 (0:00:00.079) 0:01:20.712 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:10:41 -0400 (0:00:00.079) 0:01:20.792 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:10:41 -0400 (0:00:00.077) 0:01:20.869 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:10:41 -0400 (0:00:00.080) 0:01:20.949 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:10:42 -0400 (0:00:00.087) 0:01:21.036 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:10:42 -0400 (0:00:00.086) 0:01:21.123 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:10:42 -0400 (0:00:00.141) 0:01:21.264 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:10:42 -0400 (0:00:00.127) 0:01:21.392 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:10:42 -0400 (0:00:00.082) 0:01:21.474 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:10:42 -0400 (0:00:00.083) 0:01:21.558 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:10:42 -0400 (0:00:00.079) 0:01:21.637 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:10:42 -0400 (0:00:00.077) 0:01:21.714 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:10:43 -0400 (0:00:00.512) 0:01:22.227 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmp6i4BPe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:10:43 -0400 (0:00:00.381) 0:01:22.609 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:10:44 -0400 (0:00:00.854) 0:01:23.464 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:10:44 -0400 (0:00:00.078) 0:01:23.542 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:10:44 -0400 (0:00:00.083) 0:01:23.625 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:10:44 -0400 (0:00:00.083) 0:01:23.709 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:10:44 -0400 (0:00:00.080) 0:01:23.790 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 10 August 2024 09:10:45 -0400 (0:00:00.397) 0:01:24.187 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:10:45 -0400 (0:00:00.134) 0:01:24.322 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:10:45 -0400 (0:00:00.152) 0:01:24.474 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:10:45 -0400 (0:00:00.105) 0:01:24.580 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:10:45 -0400 (0:00:00.078) 0:01:24.659 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:10:45 -0400 (0:00:00.076) 0:01:24.736 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:10:46 -0400 (0:00:00.932) 0:01:25.669 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:10:48 -0400 (0:00:01.393) 0:01:27.063 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.082) 0:01:27.146 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.077) 0:01:27.223 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.079) 0:01:27.302 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.079) 0:01:27.381 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.078) 0:01:27.460 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.088) 0:01:27.548 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.084) 0:01:27.632 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.142) 0:01:27.775 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.079) 0:01:27.854 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.076) 0:01:27.931 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:10:48 -0400 (0:00:00.085) 0:01:28.016 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:10:49 -0400 (0:00:00.077) 0:01:28.094 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:10:49 -0400 (0:00:00.078) 0:01:28.172 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:10:49 -0400 (0:00:00.496) 0:01:28.669 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmpBtV1vO" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:10:50 -0400 (0:00:00.379) 0:01:29.049 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:10:50 -0400 (0:00:00.592) 0:01:29.641 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:10:50 -0400 (0:00:00.077) 0:01:29.719 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:10:50 -0400 (0:00:00.080) 0:01:29.799 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:10:50 -0400 (0:00:00.083) 0:01:29.883 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:10:50 -0400 (0:00:00.076) 0:01:29.959 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:10:51 -0400 (0:00:00.368) 0:01:30.328 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 August 2024 09:10:51 -0400 (0:00:00.142) 0:01:30.470 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:10:51 -0400 (0:00:00.157) 0:01:30.628 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:10:51 -0400 (0:00:00.155) 0:01:30.783 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:10:51 -0400 (0:00:00.101) 0:01:30.885 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:10:51 -0400 (0:00:00.129) 0:01:31.014 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:10:52 -0400 (0:00:00.077) 0:01:31.092 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:10:52 -0400 (0:00:00.929) 0:01:32.021 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:10:54 -0400 (0:00:01.282) 0:01:33.303 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:10:54 -0400 (0:00:00.083) 0:01:33.387 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:10:54 -0400 (0:00:00.080) 0:01:33.467 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:10:54 -0400 (0:00:00.076) 0:01:33.544 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:10:54 -0400 (0:00:00.125) 0:01:33.669 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:10:54 -0400 (0:00:00.078) 0:01:33.748 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:10:54 -0400 (0:00:00.089) 0:01:33.837 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:10:54 -0400 (0:00:00.083) 0:01:33.921 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:10:55 -0400 (0:00:00.140) 0:01:34.061 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:10:55 -0400 (0:00:00.078) 0:01:34.140 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:10:55 -0400 (0:00:00.076) 0:01:34.217 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:10:55 -0400 (0:00:00.084) 0:01:34.301 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:10:55 -0400 (0:00:00.075) 0:01:34.377 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:10:55 -0400 (0:00:00.076) 0:01:34.454 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:10:55 -0400 (0:00:00.501) 0:01:34.955 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmpkH8zCY" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:10:56 -0400 (0:00:00.371) 0:01:35.327 ******* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:10:56 -0400 (0:00:00.603) 0:01:35.931 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:10:56 -0400 (0:00:00.077) 0:01:36.008 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:10:57 -0400 (0:00:00.082) 0:01:36.091 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:10:57 -0400 (0:00:00.135) 0:01:36.226 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:10:57 -0400 (0:00:00.079) 0:01:36.306 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:10:57 -0400 (0:00:00.348) 0:01:36.654 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 10 August 2024 09:10:57 -0400 (0:00:00.143) 0:01:36.797 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:10:57 -0400 (0:00:00.136) 0:01:36.934 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:10:57 -0400 (0:00:00.081) 0:01:37.015 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:10:58 -0400 (0:00:00.367) 0:01:37.383 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:10:58 -0400 (0:00:00.078) 0:01:37.461 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023376", "end": "2024-08-10 09:10:58.722525", "rc": 1, "start": "2024-08-10 09:10:58.699149" } 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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:10:58 -0400 (0:00:00.386) 0:01:37.848 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:10:58 -0400 (0:00:00.080) 0:01:37.928 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:10:58 -0400 (0:00:00.080) 0:01:38.008 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:10:59 -0400 (0:00:00.080) 0:01:38.089 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:10:59 -0400 (0:00:00.078) 0:01:38.167 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 10 August 2024 09:10:59 -0400 (0:00:00.133) 0:01:38.300 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:10:59 -0400 (0:00:00.084) 0:01:38.385 ******* skipping: [managed_node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:10:59 -0400 (0:00:00.088) 0:01:38.473 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:10:59 -0400 (0:00:00.079) 0:01:38.553 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:10:59 -0400 (0:00:00.146) 0:01:38.700 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.052970", "end": "2024-08-10 09:10:59.981103", "rc": 0, "start": "2024-08-10 09:10:59.928133" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 10 August 2024 09:11:00 -0400 (0:00:00.428) 0:01:39.128 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:11:00 -0400 (0:00:00.136) 0:01:39.265 ******* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:11:00 -0400 (0:00:00.081) 0:01:39.346 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:11:00 -0400 (0:00:00.160) 0:01:39.507 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:11:00 -0400 (0:00:00.131) 0:01:39.638 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:11:00 -0400 (0:00:00.127) 0:01:39.765 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003105", "end": "2024-08-10 09:11:00.988066", "rc": 0, "start": "2024-08-10 09:11:00.984961" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:11:01 -0400 (0:00:00.350) 0:01:40.116 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:11:01 -0400 (0:00:00.141) 0:01:40.258 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:11:01 -0400 (0:00:00.081) 0:01:40.339 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:11:01 -0400 (0:00:00.167) 0:01:40.506 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:11:01 -0400 (0:00:00.140) 0:01:40.647 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:11:01 -0400 (0:00:00.151) 0:01:40.798 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:11:01 -0400 (0:00:00.104) 0:01:40.903 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:11:01 -0400 (0:00:00.077) 0:01:40.981 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:11:02 -0400 (0:00:00.078) 0:01:41.060 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:11:02 -0400 (0:00:00.945) 0:01:42.005 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:11:04 -0400 (0:00:01.307) 0:01:43.313 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:11:04 -0400 (0:00:00.081) 0:01:43.395 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:11:04 -0400 (0:00:00.079) 0:01:43.474 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:11:04 -0400 (0:00:00.080) 0:01:43.555 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:11:04 -0400 (0:00:00.077) 0:01:43.632 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:11:04 -0400 (0:00:00.079) 0:01:43.711 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:11:04 -0400 (0:00:00.086) 0:01:43.797 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:11:04 -0400 (0:00:00.084) 0:01:43.882 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:11:04 -0400 (0:00:00.138) 0:01:44.020 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:11:05 -0400 (0:00:00.076) 0:01:44.096 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:11:05 -0400 (0:00:00.078) 0:01:44.175 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:11:05 -0400 (0:00:00.085) 0:01:44.260 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:11:05 -0400 (0:00:00.079) 0:01:44.339 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:11:05 -0400 (0:00:00.076) 0:01:44.416 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:11:05 -0400 (0:00:00.586) 0:01:45.002 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmp6bMQwC" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:11:06 -0400 (0:00:00.385) 0:01:45.388 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:11:06 -0400 (0:00:00.609) 0:01:45.997 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:11:07 -0400 (0:00:00.077) 0:01:46.075 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:11:07 -0400 (0:00:00.083) 0:01:46.158 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:11:07 -0400 (0:00:00.086) 0:01:46.245 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:11:07 -0400 (0:00:00.076) 0:01:46.322 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:11:07 -0400 (0:00:00.351) 0:01:46.673 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 10 August 2024 09:11:07 -0400 (0:00:00.085) 0:01:46.759 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:11:07 -0400 (0:00:00.135) 0:01:46.895 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:11:08 -0400 (0:00:00.152) 0:01:47.047 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:11:08 -0400 (0:00:00.210) 0:01:47.257 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:11:08 -0400 (0:00:00.079) 0:01:47.337 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:11:08 -0400 (0:00:00.077) 0:01:47.415 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:11:09 -0400 (0:00:00.918) 0:01:48.334 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:11:10 -0400 (0:00:01.283) 0:01:49.617 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:11:10 -0400 (0:00:00.083) 0:01:49.700 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:11:10 -0400 (0:00:00.077) 0:01:49.778 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:11:10 -0400 (0:00:00.131) 0:01:49.910 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:11:10 -0400 (0:00:00.081) 0:01:49.992 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:11:11 -0400 (0:00:00.078) 0:01:50.070 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:11:11 -0400 (0:00:00.089) 0:01:50.159 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:11:11 -0400 (0:00:00.085) 0:01:50.244 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:11:11 -0400 (0:00:00.139) 0:01:50.384 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:11:11 -0400 (0:00:00.078) 0:01:50.462 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:11:11 -0400 (0:00:00.076) 0:01:50.539 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:11:11 -0400 (0:00:00.086) 0:01:50.625 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:11:11 -0400 (0:00:00.077) 0:01:50.703 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:11:11 -0400 (0:00:00.077) 0:01:50.781 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:11:12 -0400 (0:00:00.503) 0:01:51.284 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmp6BAq23" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:11:12 -0400 (0:00:00.374) 0:01:51.659 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:11:13 -0400 (0:00:00.979) 0:01:52.638 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:11:13 -0400 (0:00:00.078) 0:01:52.716 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:11:13 -0400 (0:00:00.084) 0:01:52.800 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:11:13 -0400 (0:00:00.085) 0:01:52.885 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:11:13 -0400 (0:00:00.076) 0:01:52.962 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 August 2024 09:11:14 -0400 (0:00:00.349) 0:01:53.312 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:11:14 -0400 (0:00:00.134) 0:01:53.446 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:11:14 -0400 (0:00:00.150) 0:01:53.597 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:11:14 -0400 (0:00:00.103) 0:01:53.700 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:11:14 -0400 (0:00:00.075) 0:01:53.776 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:11:14 -0400 (0:00:00.078) 0:01:53.854 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:11:15 -0400 (0:00:00.973) 0:01:54.828 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:11:17 -0400 (0:00:01.280) 0:01:56.108 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:11:17 -0400 (0:00:00.083) 0:01:56.192 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:11:17 -0400 (0:00:00.081) 0:01:56.274 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:11:17 -0400 (0:00:00.078) 0:01:56.352 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:11:17 -0400 (0:00:00.078) 0:01:56.431 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:11:17 -0400 (0:00:00.079) 0:01:56.511 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:11:17 -0400 (0:00:00.086) 0:01:56.598 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:11:17 -0400 (0:00:00.086) 0:01:56.685 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:11:17 -0400 (0:00:00.140) 0:01:56.826 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:11:17 -0400 (0:00:00.079) 0:01:56.905 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:11:18 -0400 (0:00:00.133) 0:01:57.039 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:11:18 -0400 (0:00:00.086) 0:01:57.125 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:11:18 -0400 (0:00:00.081) 0:01:57.207 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:11:18 -0400 (0:00:00.077) 0:01:57.284 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:11:18 -0400 (0:00:00.511) 0:01:57.796 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmp2p4X8a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:11:19 -0400 (0:00:00.379) 0:01:58.175 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:11:19 -0400 (0:00:00.616) 0:01:58.792 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:11:19 -0400 (0:00:00.078) 0:01:58.870 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:11:19 -0400 (0:00:00.085) 0:01:58.956 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:11:20 -0400 (0:00:00.083) 0:01:59.040 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:11:20 -0400 (0:00:00.078) 0:01:59.118 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:11:20 -0400 (0:00:00.343) 0:01:59.462 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 August 2024 09:11:20 -0400 (0:00:00.145) 0:01:59.608 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:11:20 -0400 (0:00:00.187) 0:01:59.795 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:11:20 -0400 (0:00:00.152) 0:01:59.948 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:11:21 -0400 (0:00:00.105) 0:02:00.053 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:11:21 -0400 (0:00:00.077) 0:02:00.131 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:11:21 -0400 (0:00:00.079) 0:02:00.211 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:11:22 -0400 (0:00:00.916) 0:02:01.128 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:11:23 -0400 (0:00:01.384) 0:02:02.513 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:11:23 -0400 (0:00:00.081) 0:02:02.594 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:11:23 -0400 (0:00:00.079) 0:02:02.674 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:11:23 -0400 (0:00:00.081) 0:02:02.756 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:11:23 -0400 (0:00:00.077) 0:02:02.833 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:11:23 -0400 (0:00:00.080) 0:02:02.914 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:11:23 -0400 (0:00:00.087) 0:02:03.001 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:11:24 -0400 (0:00:00.086) 0:02:03.087 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:11:24 -0400 (0:00:00.141) 0:02:03.229 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:11:24 -0400 (0:00:00.077) 0:02:03.306 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:11:24 -0400 (0:00:00.079) 0:02:03.386 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:11:24 -0400 (0:00:00.085) 0:02:03.471 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:11:24 -0400 (0:00:00.079) 0:02:03.551 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:11:24 -0400 (0:00:00.079) 0:02:03.630 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:11:25 -0400 (0:00:00.499) 0:02:04.130 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8765VrpnkN/tmpk6kmos" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:11:25 -0400 (0:00:00.416) 0:02:04.546 ******* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:11:26 -0400 (0:00:00.608) 0:02:05.155 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:11:26 -0400 (0:00:00.076) 0:02:05.232 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:11:26 -0400 (0:00:00.083) 0:02:05.316 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:11:26 -0400 (0:00:00.086) 0:02:05.402 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:11:26 -0400 (0:00:00.076) 0:02:05.479 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:11:26 -0400 (0:00:00.375) 0:02:05.854 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 10 August 2024 09:11:26 -0400 (0:00:00.161) 0:02:06.016 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:11:27 -0400 (0:00:00.138) 0:02:06.155 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:11:27 -0400 (0:00:00.079) 0:02:06.234 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:11:27 -0400 (0:00:00.353) 0:02:06.587 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:11:27 -0400 (0:00:00.076) 0:02:06.664 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023192", "end": "2024-08-10 09:11:27.909637", "rc": 1, "start": "2024-08-10 09:11:27.886445" } 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-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:11:28 -0400 (0:00:00.370) 0:02:07.034 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:11:28 -0400 (0:00:00.079) 0:02:07.114 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:11:28 -0400 (0:00:00.077) 0:02:07.191 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:11:28 -0400 (0:00:00.079) 0:02:07.271 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:11:28 -0400 (0:00:00.077) 0:02:07.349 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 10 August 2024 09:11:28 -0400 (0:00:00.079) 0:02:07.428 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 10 August 2024 09:11:28 -0400 (0:00:00.085) 0:02:07.514 ******* [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.671598", "end": "2024-08-10 09:11:29.421695", "rc": 0, "start": "2024-08-10 09:11:28.750097" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 10 August 2024 09:11:29 -0400 (0:00:01.041) 0:02:08.555 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 10 August 2024 09:11:29 -0400 (0:00:00.080) 0:02:08.635 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:11:29 -0400 (0:00:00.079) 0:02:08.715 ******* skipping: [managed_node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:11:29 -0400 (0:00:00.088) 0:02:08.803 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:11:29 -0400 (0:00:00.082) 0:02:08.886 ******* included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:11:30 -0400 (0:00:00.162) 0:02:09.048 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.051653", "end": "2024-08-10 09:11:30.322101", "rc": 0, "start": "2024-08-10 09:11:30.270448" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 10 August 2024 09:11:30 -0400 (0:00:00.459) 0:02:09.508 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007333", "end": "2024-08-10 09:11:30.745688", "rc": 0, "start": "2024-08-10 09:11:30.738355" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:fc:87:61:8e:f9 brd ff:ff:ff:ff:ff:ff inet 10.31.46.17/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2853sec preferred_lft 2853sec inet6 fe80::fc:87ff:fe61:8ef9/64 scope link valid_lft forever preferred_lft forever 10: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether f2:85:ae:c7:d9:d7 brd ff:ff:ff:ff:ff:ff 60: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 7a:e3:e2:9d:04:c4 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::78e3:e2ff:fe9d:4c4/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.17 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 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 fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 10 August 2024 09:11:30 -0400 (0:00:00.362) 0:02:09.870 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.399714", "end": "2024-08-10 09:11:31.535254", "rc": 0, "start": "2024-08-10 09:11:31.135540" } STDOUT: CHECK DNS AND CONNECTIVITY 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 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1997 0 --:--:-- --:--:-- --:--:-- 2006 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1326 0 --:--:-- --:--:-- --:--:-- 1322 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=337 changed=13 unreachable=0 failed=0 skipped=285 rescued=0 ignored=10 Saturday 10 August 2024 09:11:31 -0400 (0:00:00.742) 0:02:10.613 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.27s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.27s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get NetworkManager RPM version ------------------------------------------ 1.04s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 fedora.linux_system_roles.network : Check which services are running ---- 1.02s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.99s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 fedora.linux_system_roles.network : Check which services are running ---- 0.99s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.98s /tmp/collections-zFg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159